WordPress Browser Cache with W3-Total-Cache doesn’t show new posts [closed]

There are two steps necessary to make sure that the browsers fetch the updated HTML pages (ex: home page). Step 1 Uncheck ‘Set expires header’ at your site’s wp-admin/admin.php?page=w3tc_browsercache#html_xml, for ‘HTML & XML’ files. Whenever a browser sees an Expires header, it (the browser) will fetch the next version of that particular HTML page only … Read more

Will I see a performance hit if I use native API calls like get_the_title() instead of $post->post_title?

Template tags rely on global $post (unless you explicitly provide something else to those that support it. So either: they get something from that variable (no reason to go for it in database) or they don’t (then they fail because they have no clue what you want) Under most normal circumstances there is no reason … Read more

What exactly is an advanced object cache?

An advanced object cache is a cache mechanism that can store data that persists beyond a single request. A couple of popular object caches for WordPress are APC and Memcached. The WP_Object_Cache class Codex page has a list of links with more info on advanced cache options.

Caching: Force fresh content for logged-in users (potentially by adding a query variable to the URL)

Since you already have the “Don’t cache pages for logged in users” option activated, what about selecting cache with validation under Cache Control Policy for “HTML” content? Explanation: Essentially, the “don’t cache pages for logged in users” option should already be sending a no-cache header for your logged users only. If a user has a … Read more

Configuring WordPress for Amazon CloudFront Caching?

The plugin works fine; alternative you can use a own function to replace the bloginf() to your CDN-Url; Example: replace the url in content: // replace content for CDN if ( !function_exists(‘fb_add_static_content_url’) ) { function fb_add_static_content_url($content) { if ( is_admin() ) // eigentlich überflüssig return $content; $wpurl = get_bloginfo(‘wpurl’); $search = array( $wpurl . ‘/wp-content/images/’, … 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