[wp-hackers] overriding the built-in cache

Andy Skelton skeltoac at gmail.com
Thu Jan 5 04:40:24 GMT 2006


On 1/4/06, Ryan Boren <ryan at boren.nu> wrote:
> I might add wp_cache_disable() and wp_cache_enable() for use by
> importers which need to circumvent all in memory caching.  I wouldn't
> suggest plugins disable the cache in such a manner. Instead we should
> fix whatever is wrong.

An optional argument to get_settings() could be added: $use_cache = true.

Andy


More information about the wp-hackers mailing list