Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: Caching any point to go in ram ?

$
0
0
Hello Maxim,

Maybe, but it seems normal since I looked all the major websites having the same issue.

So if everybody has this issue, it is not an issue anymore per se.



I tried this configuration :

[code]
proxy_cache_path /srv/http/mysite/proxy levels=1:2 keys_zone=STATIC:10m inactive=24h max_size=1g;
[/code]
in the http

and :

[code]
location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {
proxy_cache STATIC;
proxy_cache_valid 200 1d;
}
[/code]

But it doesn't happen to work.

I don't have another web server to cache so I don't want to pass the packets to.. any other backend, right ?

(I may be wrong somewhere)

Thanks,

Larry

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>