ZF-12015: Clear cache file by name?

Issue Type: Improvement Created: 2012-01-21T16:04:58.000+0000 Last Updated: 2012-01-21T16:21:30.000+0000 Status: Resolved Fix version(s): Reporter: Mathieu Decaffmeyer (mathi) Assignee: Ryan Mauger (bittarman) Tags: - Zend_Cache

  • cache

Related issues: Attachments:



For now I clear cache files by tag, but sometimes it can be very slow (~500ms) in the case there are a lot of cache files to check for.

Sometimes I need to clear just one or two cache files which I know the name of. Wouldn't it be nice to have the possibility to clear a cache by its name? It seems to me that it will avoid to open each file to check for a matching tag.


Posted by Ryan Mauger (bittarman) on 2012-01-21T16:21:30.000+0000

This is already possible.

Please see the first example under the heading 'Cleaning the cache' in this manual page:…

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.