Memcaching recurring SQL Queries
Memcaching recurring SQL Queries
Memcaching recurring SQL Queries
Changing WP Object Caching during runtime
You should use wp_nonce_url() to generate the URL with a valid nonce rather than hard-coding one, e.g. here’s the code from w3_total_cache itself that does this: ‘href’ => wp_nonce_url( network_admin_url( ‘admin.php?page=w3tc_dashboard&w3tc_flush_all’ ), ‘w3tc’ ) You could also use a permissions check instead of checking if the user is ID 1, although I appreciate there are … Read more
@Tag, To answer your question directly, Smart Archives Reloaded works with W3 Total Cache. I have thoroughly tested it on my test bed and it works fine with W3 Total. I was even able to easily add the js to my minify settings. Version 2.0 removed the caching from the plugin. Have you tried it … Read more
Plugin is way too complex for me to follow code. 🙁 I can say that in practice after emptying minify cache both CSS and JS concatenated files are rebuilt with same name, using same numerical id. So my educated guess would be that numerical id is tied to file contents, rather than being random or … Read more
If you’re using a memory cache like APC or memcached, their respective admin pages will have the total memory you’re using (my WordPress installs are using 80MB with W3 Total Cache). You could then install wp-super-cache and see what it does to your memory usage.
I believe its a bug which is currently being attended to. Read the article below, which describes the current versions problems. W3 Total Cache Minify Bug Make sure that you’ve upgraded to the latest version in case its been resolved.
Use jQuery or Javascript to cycle through and randomly pick one of your links, this way you can bypass the caching? var messages = [“Good!”, “Great!”, “Awesome!”, “Super!”, “Nice!”]; function getMessage() { return messages[Math.floor(Math.random() * messages.length)]; } From https://stackoverflow.com/questions/3419928/how-can-i-return-a-random-value-from-an-array
I’ve found that the best method is to do a view source then add the scripts to W3 in the same order they are listed in the source using the same url including the query string. Most problems are from plugins or themes that output javascript inline. I try to move these to a custom.js … Read more
You can turn off caching for your wp_list_comments template by placing define(‘DONOTCACHEPAGE’, true); at the top of the page. Other constants available on a per page or template basis are: define(‘DONOTCACHEDB’, true); Disables database caching for given page. define(‘DONOTMINIFY’, true); Disables minify for a given page. define(‘DONOTCDN’, true); Disables content delivery network for a given … Read more