Issues

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:

Description

Hi,

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.

Comments

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: http://framework.zend.com/manual/en/…

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts