Is define(‘WP_CACHE’, true) needed for object caching?

I am just reading the docs at https://codex.wordpress.org/Class_Reference/WP_Object_Cache and am not clear on something… If I install an object cache plugin by adding the drop-in file object-cache.php to the wp-content directory do I need to add define(‘WP_CACHE’, true) to my wp-config.php file to activate caching or will the drop-in file just start interacting with the … Read more

What is the best caching option for WordPress multi-site on non-shared hosting?

What caching plugin configuration do you recommend and why under the following assumptions: full control of the server configuration running WordPress in multi-site/multi-domain mode most domains are not using www. prefix (cookies) (desire) to be able to disable caching for specific IPs or based on a cookie, when you do changes to the site you … Read more

Caching: APC vs APCu vs OPcache

I’m a bit confused and I’d like to know the difference between the APC, APCu, and OPcache. I’m using: WHM VPS Apache 2.4 PHP 5.5 Fastcgi Processor 6 vCores RAM 8 Gio 1 The mix up is usually because these extensions are about two unrelated technologies: opcode caching and key-value data store. For WordPress you … Read more

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

I’ve come up with a provisional solution for a not exactly common, but far from unprecedented problem with the interaction of popular WP caching solutions with cookies, in this case the standard WP comment cookies. My solution also bears on the rarely well-defined “known users” exception to serving cached files. Whether it’s usable or not, … Read more

How does object caching work?

I’m looking for a definitive answer here. When object caching is enabled, where do options and transients end up living? By default, both are stored in the database. But I’ve heard some references that memcache will store them elsewhere and APC will do something else entirely. Where, exactly, will this data be persisted in both … Read more

W3 total cache – cache refresh programmatically [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for WordPress Development Stack Exchange. Closed 7 years ago. Improve this question I am building a Digg like website in WordPress. After installing W3 Total Cache, I noticed certain elements such as number … Read more

Versioning @import of parent theme’s style.css

Context I built a child theme based on Twenty Thirteen which works quite well. After updating the parent theme to version 1.3, I noticed strange behavior with the styling which was caused by a cached parent theme’s style.css. Here is the content of my child theme’s style.css (omitting headers) /* =Imports styles from the parent … Read more