[wp-trac] [WordPress Trac] #11405: add wp_cache_enable()/wp_cache_disable() methods
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 5 21:33:42 UTC 2010
#11405: add wp_cache_enable()/wp_cache_disable() methods
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner: ryan
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Cache | Version: 2.9
Severity: normal | Keywords: needs-patch
-------------------------------+--------------------------------------------
Changes (by Denis-de-Bernardy):
* keywords: has-patch dev-feedback => needs-patch
* type: defect (bug) => enhancement
* milestone: 3.0 => Future Release
Comment:
After having tested various approaches, I'm inclined to think the
following is better:
- disable() should mark non-global groups as non-persistent except for
wp_cache_delete()
- enable() should flush the local cache and restores persistence
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11405#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list