Hi!
Let’s shake out the dust of this forum a little.
You guys gave us a great cache class. Thanks for that! It’s really useful!
Can I ask you for something more? A hook to clean the cache. The clients already know where they can clear the cache (Tools > Data > Clear Caching). To create another form just for a plugin is too much. Can you, please, give us a hook on the option “all” of cache purging?
Thanks!
Instead of a hook, you can just use the Cache class, specifically you can use Cache::clean() to clean the whole cache or Cache::delete() to delete specific keys and namespaces.
I’m using them, @wes! I’m cleaning the cache on the hooks delete_entries_loop and entry_submission_end.
I need to allow the users to flush the cache arbitrarily, like they’re already able to do on the other caches. I need to include my custom cache on the option all. I don’t want to create a custom form just for that, because is better to the users to find all options in one form.
Plus, if we could add a custom option there too, add-ons like Mustache, Minimee and CE Cache could consolidate all their flushing options in one single place.
Imagine that on CP > Tools > Data > Clear Caching):
Hey! Is this page on user guide updated? Cached Relationship entries is still an option?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.