Does WP cache code do more damage than good?
-
I see a lot of cache-specific code and I’m wondering if it’s enabled by default or not?
What is the proper way to enable it, as of 2.9.1? I made various changes to wp-config and can’t find any authoritative explanation for how, why the cache works, if it still works at all, etc.
Assuming the existing cache code is there for a reason, are there scenarios where the existing cache code actually hurts performance?
Does adding lots of cache-specific code that I can’t turn off, opening/closing lots of cache files actually help performance? For example, why does get_comments() do this for every pageview, even if I don’t have the cache turned on:
wp_cache_add( $cache_key, $comments, ‘comment’ );
- The topic ‘Does WP cache code do more damage than good?’ is closed to new replies.