CDN Cache & Preload for Craft CMS
Stack: Craft CMS PHP Twig Varnish Cloudflare Composer GitHub
Caching can reduce server load and improve response times. It also creates another task: after content changes, stale pages need to be cleared and important URLs should be warmed again.
Manual cache management is easy to forget and difficult to keep consistent. Projects using both Varnish and Cloudflare need a predictable way to coordinate the two layers.
I developed CDN Cache & Preload for Craft CMS 3, 4 and 5. The plugin connects CMS events with cache purging and warming logic.
sitemap.xml and added to a queue,The extension is useful for Craft CMS websites using Varnish, Cloudflare or static rendering where content should refresh in a controlled way after publication.
The code is publicly available in the Craft Plugin Store and on GitHub. It can be installed with Composer:
composer require cooltronicpl/varnishcache







Are you using Craft CMS with Varnish or Cloudflare? Tell me about the current setup.