Re: RE: Caching Method
On Fri, Aug 16, 2019 at 02:22:31AM -0400, hhypnos wrote: Hi there, > hi , can i use catching without proxy_pass? proxy_cache is for nginx to cache the response from a proxy_pass request to an upstream server. fastcgi_cache is for nginx to cache the response from a fastcgi_pass request to an upstream server. "Sending http headers so that the client can be invited to cache the response from nginx" is independent of both. So the answer is "yes, depending on what exactly you want to do". f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx
Re: RE: Caching Method
hi , can i use catching without proxy_pass? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,285284,285309#msg-285309 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx
Re: RE: Caching Method
can i use catching without proxy_pass? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,285284,285310#msg-285310 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx
RE: Caching Method
> I have configured nginx to cache static content, but i cant see any file in > caching > folder, also when i'm opening page in DevTool on network tab it show Unless you have somehow messed up the configuration in the email, something like: server { listen 443 ssl; server_name www.watchbox.ge watchbox.ge; location / { proxy_pass https://watchbox.ge; } doesn't make sense (to me) as it would make an infinite nested loop - the server proxies itself (unless internally the watchbox.ge resolves to some other server). Also by looking at the headers: cf-ray: 50655a0c2cf0d413-BUD is there also CloudFlare somewhere in-between? Maybe the object is already cached on CF and isn't even requested from the origin server? At least in the response I don't see this header at all: add_header 'X-GG-Cache-Status' $upstream_cache_status; I would suggest to try with simplified configuration. It's quite hard to help in this case. rr ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx