ideas icon indicating copy to clipboard operation
ideas copied to clipboard

Clear cache for specific part e.g. for specific site

Open Aquive opened this issue 11 months ago • 1 comments

I run an installation with dozens of sites (with their own domains). Sometimes cache needs to be cleared. It would be great to just be able to clear the cache for one specific url/domain.

Following the line, it would be great to clear the cache for different specific parts of an installation. Here is a list to have an idea:

Clear cache for:

  • whole domain/site
  • a whole part e.g /blog/*
  • a specific part e.g. /blog/hello-world
  • a specific part over multiple sites /*/hello-world (to clear /de/hello-world and /fr/hello-world)
  • etc

Aquive avatar Mar 14 '24 11:03 Aquive

There is an add-on for most of what you want. https://statamic.com/addons/duncanmcclean/static-cache-manager

ryanmitchell avatar Mar 20 '24 07:03 ryanmitchell