• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Help me understand How different cache system works in a server?

Iron-Man

Active member
Babiato Lover
Oct 9, 2019
304
87
28
29
India
Hi friends & experts🙏, I need little more knowledge behind all these caching concept. I know how cache works, but as there are lots of cache systems, I am just little confused. But before this, i m telling you my situation 1st.

Regarding my server: I am on a VPS of 8 GB ram, 4 cpu core & 120 GB SSD. I am using paid cloudlinux shred OS and c-panel as control panel. Using PHP 8.1 as default PHP, using LSAPI as php handler, disabled PHP-FPM. I am expert in my wordpress websites optimization & use wp-rocket plugin, perfmatter plugin, webp images & all other techniques. Also I use cloudflare free cdn in all my websites.

Regarding me, I am not tech expert & I just follow guides. Like I can use commands in whm terminal, follow documentation etc.


Now coming back to topic.​


1) WP rocket type cache plugins: I am already using wp-rocket cache plugin. I guess this will cache static contents of my website. I think this types of cache plugins are essential & must use for all my wordpress websites.

2) Cloudflare CDN: I am using cloudflare cdn. I think it will further cache my wordpress website. May be this will cache my site independently or just cache the files of wp-rocket generated cache file😂. I just do not know how its cache system work. Just experienced my site became faster after using this. And I guess it cache static files only & nt dynamic contents.

3) Nginx reverse proxy cache: I am planning to use nginx reverse proxy in my c-panel (as c-panel support this reverse proxy only & not support full nginx, also I am not expert in nginx at all, only in apache, so not interested to use full nginx now in this server).

Whatever, I think this nginx reverse proxy is server related cache & it will cache the static files of my websites & not dynamic. May be from the server side. But is this required??? as I am already using 2 cache system for static file (E: wp rocket & cloudflare). I fear it may cause some conflicts.

4) Redis cache: I am planning to use this too. I guess It will cache the dynamic files in my RAM. It may be required & and I do not think it will cause any conflicts. Also I know how to configure it in my server (50-70% knowledge btw 😂) & in my wordpress website by using a plugin.

5) Opcache: I do not know what the heck is this really. It is just enabled by default in my easyapache 4 setting. Is it required btw? If yes, then what more it will cache. static or dynamic. I guess by using above 4 cache, I have already cached too much😂😂


So friends & experts; I am planning to use all above cache. I m already testing them in my test vps server. I just need your help in understanding them like how they works, should use or not, any conflicts if I use them all etc.

I hope you understand what I mean..

So plz give your valuable guidance.

Thanks in advance to whoever help me.

Kind regards.
Iron-Man💗
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock