Cloudflare



If your Craft site lives behind Cloudflare you can use this plugin to more easily clear its caches without leaving Craft. Enable settings to automatically purge Asset and Entry URLs when they're updated, and/or install a Dashboard widget to purge specific URLs or the whole zone cache.

There's also a secret place where you can set purge rules that clear related URLs when a certain pattern is matched.

This is especially useful if you've got cached Assets that are "stuck" despite being updated in the control panel, or if you're statically caching HTML for crazy speed* but don't want to have to manually purge URLs.

*: You must use Cloudflare's Page Rules to specify that you'd like to cache everything, since HTML isn't cached by default. Just remember to exclude the control panel and pages that have forms, because otherwise there will be much confusion.


Free

Package Name

To install this plugin, search for its package name on the Plugin Store and click “Install”.


Information

Report an issue