Page 1 of 1

Nginx caching recommendation

Posted: Wed Mar 18, 2020 10:24 pm
by mathilde
Hi,

I would like to know what type of caching solution I can deploy on my small and cheap Linux VPS. It's running Nginx, and I wonder if I using gzip is a good idea.

Thanks in advance for your help.
Best,

Re: Nginx caching recommendation

Posted: Thu Mar 19, 2020 11:21 am
by diego
Hi,
you can try with OPCache (https://www.php.net/manual/en/intro.opcache.php)

Nginx provides a cache.
https://www.nginx.com/blog/nginx-caching-guide/

I'm using Cloudflare free version behind all domains for Bludit.com, for cache and is working really well, also I use OPcache and Nginx with gzip but without cache.

Regards
Diego

Re: Nginx caching recommendation

Posted: Sun Mar 22, 2020 5:54 pm
by cblte
I Ethik there was a BLUDIT Plugin which generates static HTML.
Which is, from my point of view, the best caching you can get

https://plugins.bludit.com/plugin/cachy#download

or maybe this will help you a bit (not tested by myself)

https://serversforhackers.com/c/nginx-caching

Re: Nginx caching recommendation

Posted: Tue Apr 21, 2020 10:13 am
by hxii
This is kind of a late reply, but I personally use Nginx FastCGI cache.

Generally, I'd say caching is not that important unless your pages are very heavy or you have a LOT of visitors.

Re: Nginx caching recommendation

Posted: Fri Apr 24, 2020 4:32 pm
by dontodd
cblte wrote: Sun Mar 22, 2020 5:54 pm I Ethik there was a BLUDIT Plugin which generates static HTML.
Which is, from my point of view, the best caching you can get

https://plugins.bludit.com/plugin/cachy#download

or maybe this will help you a bit (not tested by myself)

https://serversforhackers.com/c/nginx-caching
Note that the cachy plugin will break site search if you also use the search plugin.