• It would be nice if there was a way to manage the caches, such as being able to list all existing caches (name, which page it was created from, when created, when it expires) and to be able to do things list expire all caches (basically delete them all) or expire specific ones by selecting them. Another option might be a development mode where any cache that is activated is automatically reset, but any caches not activated through use are left alone. When you’re done working, you just turn development mode off (and you can also have it turn off automatically after three hours or some set time).

    https://wordpress.org/plugins/custom-content-shortcode/

Viewing 1 replies (of 1 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    Interesting idea – I looked into this, and WordPress doesn’t provide an easy way to retrieve all existing caches. From what I could see, there are two main cache stores (internal/external), and each cache is retrieved by specific key.

    One possibility is to store the cache names, create/expire dates, source, etc., manually. However, that involves additional database queries, which will slow it down and be counter-productive to having cache in the first place.

    So, it’s not so simple to implement. It’s probably best to use specialized plugins for caching, like W3 Total Cache.

Viewing 1 replies (of 1 total)
  • The topic ‘Managing caches’ is closed to new replies.