database - Will memcached improve performance with WP Super Cache already running?

admin2025-01-08  6

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?

Share Improve this question asked Sep 14, 2020 at 10:05 John DoeJohn Doe 2871 gold badge2 silver badges15 bronze badges 1
  • 1 i would recommend adding an object cache if you don't have one, however, WP Super cache is a 3rd party plugin and not in the scope of this site. For WP Super cache questions you should contact their support routes. – Tom J Nowell Commented Sep 14, 2020 at 10:58
Add a comment  | 

2 Answers 2

Reset to default 0

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.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1736267369a1191.html

最新回复(0)