0

The Expression Engine documentation for caching explains that the caches are automatically cleared upon:

Submission, updating or deleting of an Entry through API

I need to clear the caches via my own extension. Is it possible to tap into a function to clear the caches?

1 Answer 1

4

ref: https://docs.expressionengine.com/latest/development/legacy/libraries/cache.html#class-methods

ee()->cache->delete('/myaddon/');

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.