EE + WP Rocket

Just to clarify - rtCamp sells premium themes and plugins itself. We also use & endorse’s many paid plugins such as Gravity Forms & AffiliateWP which do not have a free version.

So this is really not about some prejudice against paid plugins.

From EasyEngine perspective, as a project lead, I just want to make sure that even if we integrate something paid, we will maintain atleast one completely free full-page caching.

It would be great if you can email me the code at [email protected]. I will try to test WP Rocket on some test sites and my personal sites on this weekend.

1 Like

Thanks rahul286, like almost all EasyEngine users (I think), I’m really happy to have a powerful caching solution with wp-redis and redis-object-cache without having to pay $200/yr But for me, using WP-Rocket with EasyEngine doesn’t really make sense. Someone able to setup wordpress with easyengine, will probably be able to setup Cloudflare CDN and to minify some css/js code.

Or Autoptimize, a free plugin that does a great job on minifying and concatenating css/js files.

1 Like

Hi @rahul286,

Apologies again for later response. I will send you the code, I verified with Rocket team it is still valid and they responded that it is indeed still valid.

BTW, a agree fully with rtCamp / EE always keeping an (or more than one) free caching schemes.

Cheers, and thank you for looking into it.

I’ve forwarded the code, again thank you for looking into it :slight_smile:

Thanks for code. I will start testing soon.

I read something on this the other day. I think only PHP and JS has to be GPL if using WordPress. Correct me if I am wrong.

But I agree it should all be GPL.

I found this actually slowed down my site when using HTTP/2. Something to look out for.

1 Like

Thanks for informing. Sadly even on a good ssd vpn. I’m not getting enough speed benefits.

I tried WP Rocket, it works fine if you don’t enable any cache solution by EE.

1 Like

It will be best if you use EE with WP-ROCKET’s rocket-nginx script. rocket-nginx is a great script which bypasses php and serve cached pages directly from server. I’m using it and I’m a big fan of both EE and wp-rocket.

Many guys still don’t about rocket-nginx script. Search it on google.

Would you say WP-Rocket is better than WP-REDIS? Why?

hello genupdates. i want ask ? server { …

Rocket-Nginx configuration

include rocket-nginx/rocket-nginx.conf;

… }
how to edit it at /etc/nginx/sites-available/tua5.com

my file

server {

server_name tua5.com   www.tua5.com;


access_log /var/log/nginx/tua5.com.access.log rt_cache_redis;
error_log /var/log/nginx/tua5.com.error.log;


root /var/www/tua5.com/htdocs;



index index.php index.html index.htm;


include  common/redis-php7.conf;

include common/wpcommon-php7.conf;
include common/locations-php7.conf;
include /var/www/tua5.com/conf/nginx/*.conf;

}

Hi thank for A2A, Try this command > sudo nano /etc/nginx/sites-available/tua5.com

Then include the rocket file like this:

server {

server_name tua5.com www.tua5.com;

access_log /var/log/nginx/tua5.com.access.log rt_cache_redis; error_log /var/log/nginx/tua5.com.error.log;

root /var/www/tua5.com/htdocs;

index index.php index.html index.htm;

Rocket-Nginx configuration

include rocket-nginx/rocket-nginx.conf; include common/redis-php7.conf; include common/wpcommon-php7.conf; include common/locations-php7.conf; include /var/www/tua5.com/conf/nginx/*.conf; }

Then save it by pressing CTRL+X and you are done. Need more help, ask anytime :smiley: Cheers!

Dear @portofacil

Redis is a server-side cache ( more than a cache ) which caches database etc. While on another side wp-rocket is WordPress plugin which caches WordPress posts and pages and serves them as HTML static file and. Wp-Rocket minifies Js, CSS files, removes query string, optimise HTML, provides the lazy load for videos and images and much more which redis cache don’t do. Both are a different type of cache system, and they should be used together to get the most out of it.

For you:

Redis improves site backend wp-admin for site users, and wp rocket improves site load speed for users to get a higher score in Pingdom tools, Gtmetrix, page speed insights, etc.

Hope it helps!

One of us is terribly wrong about REDIS, and how it is used as a cache mechanism for WordPress in EE.

It is a full page cache, not just database or object cache as you state.

Certainly it does not minify JS/CSS, but it is an extremely fast and lightweight cache system for WordPress, way better than any other.

I still don’t get the point of paying for a cache plugin (not judging, just thinking about what I’d do with my own money). Instead I’d love to have Pagespeed compiled back to Nginx repositories used by EE.

1 Like

hello genupdates. when you use Rocket-Nginx and plugin wp-rocket . you still use plugin nginx help and plugin Redis Object Cache for your site ?

@portofacil Yep, its full page cache ( I am noob, Sorry :P, but I have learned many things ). And I’m using both redis+rocket. Brother Redis and Rocket both are a different type of cache system. Wp-rocket, w3 total cache, wp super cache, etc. optimize your website frontend, and you will notice the improvement in your page load time by using cache plugin which provides features like wp rocket, w3 total cache, etc. Wp_rocket provide more features and is light plugin than any other that’s why OP created this topic.

:smiley: Cheers :smiley:

i have error when nginx -t nginx: [emerg] unknown directive “Rocket-Nginx” in /etc/nginx/sites-enabled/tua5.com:20 nginx: configuration file /etc/nginx/nginx.conf test failed

add # before Rocket-Nginx configuration it oki Then include the rocket file like this:

server {

server_name tua5.com www.tua5.com;

access_log /var/log/nginx/tua5.com.access.log rt_cache_redis;
error_log /var/log/nginx/tua5.com.error.log;

root /var/www/tua5.com/htdocs;

index index.php index.html index.htm;
# Rocket-Nginx configuration

include rocket-nginx/rocket-nginx.conf;
include common/redis-php7.conf;
include common/wpcommon-php7.conf;
include common/locations-php7.conf;
include /var/www/tua5.com/conf/nginx/*.conf;
}

it oki now thanks genupdates