Purge Everything except images


I want to turn on a “Cache Everything” feature for my website. Since that, I will need to purge html (and other) files at least once a week. But I don’t want purging images (.jpeg and .webp) because I have plenty GB of them on my server and they are not changing so often. So it will be unnecessary network traffic. How to avoid that?

Only Enterprise plans can accommodate multi-targeted purging. You’d have to craft an API script to generate a list of URLs you want purged. Some WordPress plugins do this automatically.

Otherwise, you’ll have to stick with Purge Everything.

1 Like

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