Elept
← Back to Use Cases

Website Image & Static Asset Hosting

Host public product images, CSS stylesheets, and JS files on CDN-enabled Cloudflare R2 endpoints to improve site speed.

Offload Assets for Speed

Website performance is a critical factor for Google SEO rankings. If your main application server is busy rendering PHP code or querying database tables while simultaneously serving large high-resolution marketing banners, page loads drop.

By offloading static media files, CSS code, and JS scripts to a public Elept bucket, your main server can focus purely on dynamic logic. Elept configures optimal HTTP caching headers (Cache-Control) so browsers store assets locally, cutting server hits.

Public Assets Advantages

  • ✓ CDN Enabled: Accelerate asset delivery globally.
  • ✓ Cache Control: Set far-future caching headers (e.g. 1 year).
  • ✓ Versioned URLs: Prevent caching bugs on updates with our query hash helper.
  • ✓ CORS Friendly: Load fonts and scripts safely across domains.

Sitemap / CDN HTML Integration

Integrate your CDN link directly into your marketing layout:

<!-- Load public asset from Elept CDN -->
<link rel="stylesheet" href="https://cdn.elept.com/accounts/1/assets/app.css?v=202606">
<img src="https://cdn.elept.com/accounts/1/images/hero-logo.png" alt="Branding Logo">

Ready to offload your asset load? Read our Public Assets Docs or start today.

Create Workspace