leonep

Well-Known Member
Nov 18, 2014
189
13
68
Pescara
cPanel Access Level
Root Administrator
Hi,
i have read in the cpanel documentation that NGINX can be used with cloudflare but i also read in cloudflare documentation that if cache control header is set to private cloudflare does not act.
So it is better to disable NGIX for user using cloudflare ?
and also inside wordpress may users have cache plugins.
what is the best in speed and resourse usage ?
thanks
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
10,431
1,634
363
cPanel Access Level
Root Administrator
Hey hey! I think the best resource for this is here:


That points to our documentation which says this: "The NGINX installation configures the system to work properly with CloudFlare."

By default, there is no cache control header in place, as that is something that would need to be added for additional caching functionality. Details on that can be found here:


It's completely fine to use Nginx with Cloudflare on cPanel systems.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
10,431
1,634
363
cPanel Access Level
Root Administrator
The advantage of using a tool like Nginx at the server level is that it works for every domain, and doesn't need to hit any PHP or site-level tools. In general, I think most people find Nginx to be faster than specific WordPress caching plugins.
 

leonep

Well-Known Member
Nov 18, 2014
189
13
68
Pescara
cPanel Access Level
Root Administrator
great , i checked my cache adding X-Cache status header and it looks good.....
i want just a clarifications . i have only mod_expires on apache. do you think i need other modules like redis or memcached ?

thanks
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
10,431
1,634
363
cPanel Access Level
Root Administrator
I don't claim to be a pro website tuner, so it's hard for me to say what you need. If you're happy with the performance of the site as it, it's usually best to leave it alone instead of trying to introduce more complexity.
 

leonep

Well-Known Member
Nov 18, 2014
189
13
68
Pescara
cPanel Access Level
Root Administrator
it is a very simple scenario with wordpress sites hosted on a dedicated server with cloudlinux and cpnael. I just put the nginx proxy and then at this point I ask if it is opportune to install cache modules like memcached on apache since there is nsginx or just nginx cache all and no need cache modules on apache....