amuck-landowner

Extremely Fast WordPress with Redis Cache

acd

New Member
I guess redis suffers a bit because of the extra tcp roundtrip.
To speak nothing of loading up a php-fpm thread, parsing a minimum of 3300 lines of php code before passing the result back. I don't believe php does any code caching normally so that's a full parse each time (this is where APC/Xcache/Opcache/Ioncube come in). As opposed to a hash check on the url and a light disk hit to fetch the pregenerated file that's probably still in an OS ram cache. fastcgi_cache is pretty much guaranteed to win...
 

acd

New Member
No, but that's how I use it; I've never needed the variable/data caching feature. Code caching does provided a reasonable speedup for certain kinds of pages.
 

turfhosting

New Member
Would it be possible to install this on a main shared/reselled server and only activate it on certain domains that use Wordpress?
 

acd

New Member
If you want to install a cache mechanism at the provider level, please consider the slightly more complicated, but significantly better performing other guide using fastcgi_cache. It is very easy to enable and disable fcgi cache for particular domains or even directories with that guide without needing to modify wordpress' code.

http://vpsboard.com/topic/108-nginx-wordpress-with-caching/
 

Everlind

New Member
Hello eva2000,

you didn't try the best way to integrate Redis Cache with WordPress. There are three solutions to make this, that of Jim Westergreen is not the faster. Please, when you have free time, try that of Benjamin Adams.

Link: https://github.com/BenjaminAdams/wp-redis-cache

With it, using Nginx + fastcgi cache + Redis Cache + Zend Opcache, my WordPress site (about 700kb), load below 250ms.

Have you a nice day  ;)
 

eva2000

Active Member
interesting but if you have fastcgi_cache enabled i think that is what is giving you the speed not redis. Try redis without fastcgi_cache
 

k0nsl

Bad Goy
Link to your WordPress site, if you don't mind?  ;)

Hello eva2000,

you didn't try the best way to integrate Redis Cache with WordPress. There are three solutions to make this, that of Jim Westergreen is not the faster. Please, when you have free time, try that of Benjamin Adams.

Link: https://github.com/BenjaminAdams/wp-redis-cache

With it, using Nginx + fastcgi cache + Redis Cache + Zend Opcache, my WordPress site (about 700kb), load below 250ms.

Have you a nice day  ;)
 

fahadrafiq

New Member
There are many advance caching systems available that can be used to speed up WordPress. 
Redis has a caching mechanism that can be used to speed up object cache of WordPress thus improving database queries. 
Integrating it with WordPress is easy, follow this tutorial for a quick guide: Redis Cache with WordPress

Cloudways make a combination of Redis + Apache + Nginx
 
Top
amuck-landowner