I'm working on a WordPress site that is expected to host up to 1000 concurrent users, so I'm exploring ways to make it run as fast as possible. I've heard that memcached helps WordPress sites load faster, but when I read what it does, it seems to have areas of overlap with WP Super Cache, especially if you use it in Expert Mode (where everything is cached in HTML and routed at the .htaccess level, so there are no database queries).
Am I right on this? Or does memcached cover areas where WP Super Cache doesn't to give performance improvements?
I'm working on a WordPress site that is expected to host up to 1000 concurrent users, so I'm exploring ways to make it run as fast as possible. I've heard that memcached helps WordPress sites load faster, but when I read what it does, it seems to have areas of overlap with WP Super Cache, especially if you use it in Expert Mode (where everything is cached in HTML and routed at the .htaccess level, so there are no database queries).
Am I right on this? Or does memcached cover areas where WP Super Cache doesn't to give performance improvements?
In the most simple terms, memcached/redis is for caching things like options and database values.
WP Super Cache is meant for serving static HTML files, instead of loading PHP, but with that said, it will still have to run PHP code to generate those files.
So yes, if you have the option of using memcached or redis, it's always a good idea to enable it as your site will benefit from it.
memcached/redis for sure cover areas where WP Super Cache does nothing at all so to speak, lets get to the point.
WP Super Cache caching takes care of caching static resources (images, HTML, CSS and JS files) and browser caching manages the same resources within the browser, memcached/redis object caching is devoted to your database.
The aim of object caching is to cache query results from your database.
Memcached is solely relying on RAM, it doesn’t require too many CPU resources, so make sure you're good.