APO: Purge only text/html vs everything?


Would it be possible to build a purge only content-type: "text/html" feature into CloudFlare? This might help CloudFlare prevent unnecessarily purging larger static files like images. Images could also be optimized by CloudFlare which takes some time to rebuild if purge everything is used.

Usually if we make a global change to the WordPress template we only need to purge the text/html pages. Purging the static images, CSS & JS is mostly never needed. Even if the static resources do change, the developers can use query sting parameters as cache busters.

1 Like

That feature is not supported by Cloudflare Cache API.

Yes, it is presently not available. Can this be considered as a feature request / suggestion?

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.