How to clear cache without a plugin [closed]

If this is about .css and .js changes, one way is to add “versions” of your files. For example: script_1.0.css // This is the URL for release 1.0 script_1.1.css // This is the URL for release 1.1 script_1.2.css // etc. Or alternatively do it after the file name: script.css?v=1.0 // This is the URL for … Read more

Help Pinpointing Source of Caching Issue

You may need to set nocache headers in your main template header. Include this near the top of the header.php after the opening tag: nocache_headers() From here: Function Reference/nocache headers Run some tests, I believe this should only affect the main page file, other files should still cache normally. More idealy, wordpress should be sending … Read more

How to force content refresh of a page that has been loaded previously by the user? [closed]

Since, your site already uses W3 Total Cache plugin, let me provide a solution based on it. Please visit yoursite’s wp-admin/admin.php?page=w3tc_browsercache and look for the text “Set cache control header”. Check this option, if it is unchecked, and then choose “no-cache” for the “Cache control policy”. This needs to be done in three places… CSS … Read more

Settings to get the most out of W3 Total Cache

I’ve seen many more complaints about W3TC than WP Super Cache: WordPress › WP Super Cache « WordPress Plugins. W3TC loads the .htaccess file with many directives and tends to conflict with server side settings. With Super Cache, try PHP caching and follow the instructions to add an .htaccess file to the cache directory: http://wordpress.org/extend/plugins/wp-super-cache/installation/ … Read more

W3 Total Cache doesn’t detect memcached [closed]

At the time of this writing, W3TC only recognizes the php5-memcache (vs. php5-memcached) PHP client for memcached memory object caching system/software. Hence the “Memcache extension: Installed” in W3TC compatibility test for memcached. Memcached being useful and efficient as a caching method for database and/or object user/data caching via W3TC, even on a single server setup, … Read more

Stale cache handling with a persistent object cache

The object cache is not reliable, in any case. For example, Memcached has its own system to purge items in cache: if it “thinks” that is too full it start purging items in way that is just not predictable. It is (or should be) known that when you have an external object cache system in … Read more

How to purge all transient caches?

Not tested, but if you need a quick and dirty way, you could put a script like this in your WordPress folder and call it each time: define( ‘WP_USE_THEMES’, false ); require(‘wp-blog-header.php’); global $wpdb; $wpdb->query( “DELETE FROM $wpdb->options WHERE option_name LIKE ‘%\_transient\_%'” ); Not to be used on a production server.

techhipbettruvabetnorabahisbahis forumuedueduedueduseduedusedueduseduedus