What is difference between ‘Page Cache’ and ‘Object Cache’ in WordPress?

Page cache is the entire rendered html output for a page. It’s useful for serving static content like a WordPress post. Object cache is often the resource-heavy pieces that make up a page. For example, When you use WP_Query each result would be stored in object cache. This prevents WordPress from hitting the database every … Read more

wp-super-cache exclude file from caching

Rather than incorporating dynamic content into cached pages, you are better off using AJAX to pull dynamic content onto those pages in the browser. In your news.php file, simply have an empty element that will contain the content. Better still, have it contain an AJAX spinner that indicates that content is coming. <div id=”late-load-news”> <img … Read more

Pros and Cons for high “expire time” on wp-super-cache or w3-total-cache? [closed]

It’s a great question, and one I’ve been a little confused by as well. The conclusion I’ve drawn is, it’s expensive to leave cache files for two reasons: If your site (or sites, in the case of a multisite installation) has/have a lot of pages, you can easily end up with thousands of cache files, … Read more

Is this Solution for Caches vs Cookies Going to Get Me in Trouble?

Your solution with comment_author_proxyhash cookie will of course technically work – all caching plugins I know doesn’t analyze hash value and will just stop delivery of cached content based on comment_author_* cookie presense. Problem here is that page caching functionality is something websites really need and often page caching is configured exactly because naked WordPress … Read more