Improve site performance and user experience via caching: browser, page, object, database, minify and content delivery network support.

learn more… | top users | synonyms

13
votes
6answers
8k views

W3 total cache - cache refresh programmatically

I am building a Digg like website in WordPress. After installing W3 Total Cache, I noticed certain elements such as number of votes (and voters ids) per post are cached even though they shouldn't be ...
7
votes
4answers
2k views

W3 Total Cache, CDN and theme files

I updated the style.css file of my WordPress installation recently. The change were effective: when logged in as an administrator (my blog is set so that the administrator is never served a cached ...
7
votes
2answers
691 views

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

In the wp-super-cache page, there is the following sentence, which I do not understand:: Checking for and deleting expired files is expensive, but it’s expensive leaving them there too. On a ...
7
votes
2answers
220 views

Limit cache size from W3 Total Cache

Is it possible to define a limit for how much space W3 Total Cache is allowed to use?
7
votes
2answers
2k views

Best way to show Dynamic Content on a Cached Wordpress Site?

I really want to use one of the Cache plugins so that I can serve up more Static pages on my WordPress theme/site. This is obviously the best performance upgrade you can do for a WordPress ...
5
votes
1answer
441 views

w3 total cache minification breaks wp_localize_script()

I am trying to configure W3 total cache plugin to speed up my site. The minify option is great but I am running into the following issue: Let's say I have a JavaScript file I am attached wp_localize ...
4
votes
1answer
794 views

W3 Total Cache, RackSpace Cloud Files, and Forcing Downloads

I'm using W3 Total Cache's CDN connection to RackSpace CloudFiles to serve severall hundred media files. My goal is to get the files to download in the user's browser, rather than stream. According to ...
4
votes
2answers
1k views

W3 Leverage browser caching not working for google pagespeed

I have a site at http://iqonline.eu which uses w3 total cache for all its caching and minifying purposes and everything is working nicely as per normal. However when checking the site on Google page ...
4
votes
1answer
369 views

Difference between w3total cache disk enhanced and disk basic

Regarding the w3total cache working mechanism, I searched the internet but couldnt find any proper information regarding these two. What is the difference between the disk enhanced and disk basic in ...
4
votes
1answer
2k views

Wordpress Browser Cache with W3-Total-Cache doesn't show new posts

I'm running the latest version of both Wordpress (3.5.1) and the always popular W3 Total Cache (0.9.2.8), but I'm having issues with the browser cache. Basically I can't figure out the settings to ...
4
votes
1answer
499 views

AJAX vs Fragment Caching for W3 Total Cache

I'm running a WP site with WooCommerce and I want to do some caching. I'm going to exclude the pages such as the cart/checkout for obvious reasons however there are a couple of the things on the site ...
4
votes
1answer
806 views

Proper hook for W3TC defines, or dynamically disable w3 total cache

I have a site that uses a shopping cart plugin (Shopp), a plugin I wrote, and W3 Total Cache. In my plugin, I'd like to make sure that W3 Total Cache does not serve any cached pages if the user has ...
3
votes
2answers
265 views

How can you develop on a live WordPress installation that is using W3 Total Cache?

Or to make it easier: you just want to disable the caching in order to see your changes in realtime. Any solution that would allow you to disable caching based on IP, logged user or cookie will be ...
3
votes
2answers
604 views

Is W3 Total Cache still useful with CloudFlare?

I noticed that both do the same thing, ex: caching, minifying.
3
votes
1answer
106 views

Need to create a function that will run regardless of W3TC PageCache for every page request

I want to create a specialized function that check certain parameters (page requested, ip of user against a list), if the user matches he will be redirected to a different site, if he doesn't match he ...
3
votes
1answer
197 views

Should I use Transients with W3 Total Cache APC Caching?

Should I use Transients in my queries like this? <?php if ( ! $my_paged = absint( get_query_var( 'paged' ) ) ) $my_paged = 1; if ( ! $my_query = get_transient( "567recent_$my_paged" ) ) { ...
3
votes
1answer
237 views

Writing a view count with w3 total cache

I am trying to develop functionality which counts how many times a post is viewed however I am also using page caching (APC possible memcache in the future) via w3 total cache. The "view count" value ...
3
votes
1answer
1k views

Varnish + W3 Total Page Cache

I currently have varnish setup on my server. I'm also using the W3 Total Cache plugin to speed up the site through a CDN. Question: Is there any point in using varnish if the pages are being cached ...
3
votes
3answers
271 views

Trouble with Transient API when W3TC is activated

I'm using W3 Total Cache 0.9.2.11 on Wordpress 3.5.2. I've got a problem with transient API and w3tc's object cache setting. When I activate 'object cache' with memcached (other settings are ...
3
votes
1answer
437 views

How to cache custom pages using W3 Total Cache?

Some posts are requested through Ajax. <?php // Filename: ajax-posts.php require_once "wp-load.php"; echo my_get_post($_GET["id"]); ?> How can I make theese Ajax requests cacheable by W3 ...
3
votes
2answers
528 views

Lighttpd, WordPress Caching plugin

If I use Lighttpd as webserver, how can I use caching plugin like w3 total cache or wp super cache? Need your help for configuring lighttpd. Thanks.
3
votes
2answers
228 views

Is it possible to disable caching of an option when using w3 total cache?

a plugin i'm working on has a conflict with w3 total cache. To be more specific, in my code i have static function get_instance() { if( self::$_instance === NULL ) { // get the settings ...
3
votes
2answers
1k views

Showing as logged in after logout (W3 Total Cache issue)

I've got a login/logout link using wp_loginout(). After a user logs out their user info is still being shown by get_currentuserinfo(), only after they visit a second page does it revert to not showing ...
3
votes
2answers
640 views

W3 Total Cache Plugin with WP 3 MultiUser

I'm having some strange behavior with my W3 Total Cache solution working on my multi-user Wordpress 3 installation. The multi-user is setup to use sub directories, and I'm using all types of caching ...
2
votes
2answers
2k views

Clear cache when a post is submitted

I have a question. How can I clear the cache when a post is submitted ? Actually, I need to clear two speficied pages which display these articles ? By default, I have noticed the index.php is ...
2
votes
2answers
3k views

WP-e-Commerce and W3-Total-Cache integration problem

My shopping cart is being cached by w3 total cache. This is the expected default behaviour. The thing is I can't find an easy solution for this. I am showing my shopping cart on almost every page, so ...
2
votes
2answers
4k views

W3 Total Cache active but not working (solved)

Update: Found the reason for the issue. The theme had this add_action('init','ezgz_buffer'); function ezgz_buffer() { ob_start('ob_gzhandler'); } The above code enables gzip-compression if ...
2
votes
2answers
1k views

Make W3 Total Cache “Empty All Caches” function purge varnish

Right now, when I perform "Empty All Caches" it doesn't send a PURGE request to varnish. The result is that varnish isn't being refreshed. Is there a way that I can make varnish purge it's cache when ...
2
votes
1answer
221 views

Should the page cache be refreshed often?

In the w3 total cache there is the option to set the time until the cache is flushed (and thus, recreated on the next time a visitor comes by). My question is, assuming I've got a lot of content on ...
2
votes
3answers
636 views

How does W3 Total Cache CDN URL rewrites work?

I just setup W3 Total Cache S3 CDN (origin push) and most of the URLs are being rewritten correctly but we have some custom plugins where the URLs are not being rewritten. How do I grab the rewritten ...
2
votes
3answers
240 views

Rename W3 Total Cache admin menu

I'm developing a plugin that I'll install for all my clients to make WordPress slightly easier to use for them. One of the things it will change is name of the W3 Total Cache Admin menu from ...
2
votes
1answer
1k views

Exclude certain block from caching using Fragment Caching - doesn't work

I have a one form, and I'm inserting it on page footer from a function file. I need to display a random form to each visitors and thus have a function developed to support this. However, with caching ...
2
votes
2answers
600 views

Using Multisite with a CDN?

I'm running Wordpress Multisite hosted with Bluehost, and only have 5 low volume sites. My site load time has been awful recently, so I've used Lazy Load, DB optimization, Smush.it, and Quick Cache to ...
2
votes
3answers
625 views

Can't get rid of minify after uninstalling W3 Total Cache

I've tried to replace my WP Super Cache for W3 Total Cache but it didn't worked. It was bugged all over and minify wouldn't work properly. So I uninstalled it s suggested by the plugin creator in one ...
2
votes
2answers
3k views

W3 Total Cache Minify Rewrite Error with Wordpress on nginx

I'm trying to get W3 Total Cache to rewrite URLs to minified files. I've tried every tutorial I could find but I don't seem to be able to get it right. I keep getting a W3 Total Cache error saying ...
2
votes
2answers
251 views

wordfence scan warning on W3 Total Cache

I use Wordfence plugin which scans server side plugins with original plugin files to see if anything was modified by hacker/cracker. Today I got a warning and it shows these modifications on ...
2
votes
1answer
2k views

Exclude content from w3 total cache

I use w3 total cache on a site I run which also now has to display a small popup at the bottom of the page to mention that the site uses cookies (thanks EU). The idea is that this only appears the ...
2
votes
1answer
425 views

W3 Total Cache - How to disable “Performance” menu under multisite?

I am running a multisite install with domain mapping and W3 Total Cache set up on each of the sites. I don't use a network in the traditional sense - each site is generally independent. I only have ...
2
votes
0answers
113 views

How can I get W3 Total Cache to recognise Amazon ElastiCache? [closed]

What I did (on my EC2 instance): a) Followed Amazon's instructions here to install their special PHP Memcached Extension for ElastiCache. b) Confirmed it was installed and restarted apache $ php -i ...
1
vote
3answers
2k views

Page output in strange characters

Apparently a lot of people complain that they only see random letters and characters: My biggest problem is that I can't reproduce the problem on ANY of my devices! Not on my Windows XP laptop, not ...
1
vote
6answers
2k views

W3 Cache plugin and Facebook sharing

LATEST UPDATE (June 13th 2012) I can't figure out what's wrong with my codes. When I want to share one of my blog posts and use either the Facebook share button or copy the link of the blog post ...
1
vote
3answers
2k views

Page cache for categories not updating with W3 Total Cache

I noticed recently that the full page cache for category pages isn't getting updated. Other pages seem to work fine (home, posts, etc) but categories cache files stay untouched for days until I ...
1
vote
2answers
421 views

PHP Code stuck in Cache [Memcached]

Been having a bit of a problem with my site regarding our caching method and my php code not refreshing or flushing. To start, my site is on a dedicated Nginx webserver. I used W3 Total Cache for ...
1
vote
2answers
64 views

Transient API and caching Plugins

Hello wordpress NINJAS.... I am crazy about transient api and I have implemented it in my theme.My question is If I use transient api is it required caching plugin? (I hate plugins!!!) If I use ...
1
vote
3answers
1k views

Settings to get the most out of W3 Total Cache

I'm running a dedicated server which hosts one website - our WordPress install. Currently we're getting around 400,000 pageviews per month and that will likely rise quickly over the coming month - ...
1
vote
2answers
732 views

Plugin Expires Headers - W3 Total Cache

Using the Google PageSpeed Online, it looks like the CSS/Images/JS files of most of my plugins (including wp-nivo-slider) do not get their expires-headers set. Is there a solution for this so that W3 ...
1
vote
2answers
1k views

w3 Total Cache expire headers not set

I have been using w3 Total Cache with the setting to enable Expires Headers and eTags but they are not being set. I'm serving images and other media from a sub-domain such as static.example.org ...
1
vote
3answers
401 views

server load. $_SERVER['REMOTE_ADDR'] and $_SERVER['HTTP_HOST']

while writing new code and testing it, I incorporate it into my site by testing for the remote IP address as follows; i.e., I'm the only one who will see the new code: in /functions.php: // to hide ...
1
vote
3answers
3k views

How do I get W3 Total Cache not to cache sidebars?

At the moment I run PHP code in my side bars. Even though I have the following header("Pragma: no-cache"); header("cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header("Expires: Mon, 26 ...
1
vote
1answer
2k views

Error Message from W3 Total Cache when .htaccess Rules Cannot Be Modified?

I have just installed the Plugin " W3 Total Cache " .I have enabled permalinks too. Then it is showing a message Browser Cache feature is not operational. Your .htaccess rules could not be ...