Nginx caching recommendation

Post Reply
User avatar
mathilde
Jr. Bludit
Posts: 3
Joined: Tue Sep 17, 2019 2:32 pm

Wed Mar 18, 2020 10:24 pm

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,
Mathilde
User avatar
diego
Site Admin
Posts: 738
Joined: Sat May 16, 2015 2:53 pm
Contact:

Thu Mar 19, 2020 11:21 am

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
cblte
Jr. Bludit
Posts: 3
Joined: Thu Aug 16, 2018 11:01 pm

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
hxii
Ssr. Bludit
Posts: 20
Joined: Sun Nov 22, 2015 11:01 am
Contact:

Tue Apr 21, 2020 10:13 am

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.
Learn by doing.

web
dontodd
Ssr. Bludit
Posts: 15
Joined: Tue Dec 19, 2017 1:17 am

Fri Apr 24, 2020 4:32 pm

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.
Post Reply