Optimize your content delivery using edge caching strategies.
Edge Caching saves your Sevalla site/page cache (which is only saved to your site’s data center) to any of Cloudflare’s global network of 260+ data centers. When your visitors load your application in their browser, cached responses will be delivered from the location closest to them, increasing the performance and speed of your application.Edge Caching serves your Sevalla site/page cache but does not serve static assets like images, JavaScript files, and CSS files. Sevalla’s CDN, which is independent of Edge Caching, can be enabled to serve your static assets. If Sevalla CDN is enabled, your site has an additional caching layer managed separately from Edge Caching. When you clear the Edge Cache for applications, this also clears the CDN cache.Edge Caching is not enabled by default on Application Hosting. The application’s Overview page shows if Edge Caching is enabled or disabled.
Application Overview page showing Edge Caching is enabled.
Sevalla automatically purges the edge cache after every successful deploy, so updated content is served without any manual action in most cases.
To clear the edge cache, within Sevalla, click Applications > app name > Networking, and within CDN & Edge caching, click Purge cache. If both CDN and edge caching are enabled, purging the cache will apply to both.
Clear the cache for both CDN and edge caching.
You can also clear the Edge Cache by sending a POST request with the clear-cache API endpoint. If you have enabled the CDN, this also clears the CDN cache.Clearing Edge Cache in all of Cloudflare’s data centers may take 2-5 minutes to fully complete.
Was this page helpful?
⌘I
Assistant
Responses are generated using AI and may contain mistakes.