We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
nginx cache not seeming to work?
-
- Posts: 57
- Joined: Thu Apr 27, 2017 7:40 pm
- Os: Ubuntu 15x
- Web: apache + nginx
nginx cache not seeming to work?
So i have enabled caching template. All the Proxy Extensions are defaults:
This is a fairly active domain that uses about a TB of bandwidth per month.
Yet 24 hours after enabling
is still completely empty. We serve up a LOT of js, css, pngs and jpgs so I would expect something to be in the caching folder yet nothing...
And yes $domain is a representation of the actual domain name.
Any ideas?
Code: Select all
jpeg, jpg, png, gif, bmp, ico, svg, tif, tiff, css, js, htm, html, ttf, otf, webp, woff, txt, csv, rtf, doc, docx, xls, xlsx, ppt, pptx, odf, odp, ods, odt, pdf, psd, ai, eot, eps, ps, zip, tar, tgz, gz, rar, bz2, 7z, aac, m4a, mp3, mp4, ogg, wav, wma, 3gp, avi, flv, m4v, mkv, mov, mpeg, mpg, wmv, exe, iso, dmg, swf
Yet 24 hours after enabling
Code: Select all
/var/cache/nginx/$domain
And yes $domain is a representation of the actual domain name.
Any ideas?
-
- Posts: 43
- Joined: Tue Apr 18, 2017 7:55 am
Re: nginx cache not seeming to work?
Perhaps go through the nginx cache guide...
https://www.nginx.com/blog/nginx-caching-guide/
https://www.nginx.com/blog/nginx-caching-guide/
Re: nginx cache not seeming to work?
Hi there,
I have the same doubt... In the nginx config with template Caching, we find :
I'm confused. Does this mean that there is no caching for all this extensions ??
I have the same doubt... In the nginx config with template Caching, we find :
Code: Select all
...
location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|tif|tiff|css|js|htm|html|ttf|otf|webp|woff|txt|csv|rtf|doc|docx|xls|xlsx|ppt|pptx|odf|odp|ods|odt|pdf|psd|ai|eot|eps|ps|zip|tar|tgz|gz|rar|bz2|7z|aac|m4a|mp3|mp4|ogg|wav|wma|3gp|avi|flv|m4v|mkv|mov|mpeg|mpg|wmv|exe|iso|dmg|swf)$ {
proxy_cache off;
...