Docs / CDN

Faster public assets

Optional CDN, included with paid app plans.

Enable it in Services → CDN

Cache public images, scripts, fonts and styles close to your users. HTML stays uncached. Each successful deployment clears cached assets.

Your agent can use configure_cdn or PUT /api/v1/apps/{appId}/cdn.

Keep private content private

Send Cache-Control: private, no-store on personalised responses and private file routes. Cookies alone do not prevent caching.

CDN switches off when hosting is suspended. Your files stay in Launchbase Files.

Full agent guide