Public CDN Assets
Host public files (images, stylesheets, scripts) with CDN acceleration. Public files are accessible directly via their static public gateway URLs.
Gateway Access URL
Public files bypass auth tokens and can be loaded directly from your domain root:
GET https://elept.com/f/{file_uid}
If Cloudflare R2 is configured as the active public provider with a custom base URL, this gateway request will send a 302 Redirect to your CDN endpoint (e.g. https://cdn.example.com/object_key), ensuring high delivery speeds.
Versioned URL Helper
Browsers cache public files heavily to speed up page loads. If you upload an updated version of a stylesheet (retaining the same file UID), users might not see the updates due to cached locally files.
To break the cache, append a version parameter (like the file's SHA256 checksum) to the URL:
https://elept.com/f/file_css789?v=b4e3f9a1
Our dashboard file manager provides a simple helper to copy the copy-paste-ready HTML tags with this version string pre-appended.
Cache-Control Headers
Elept sets robust Cache-Control headers on direct file serving:
- Public visibility:
Cache-Control: public, max-age=31536000, immutable(allows browser/CDN caching for 1 year). - Private visibility:
Cache-Control: no-store, no-cache, must-revalidate(forces check, zero local browser cache).