Welcome! Log In Create A New Profile

Advanced

Re: Cache only if no args?

December 01, 2010 03:36PM
Hi Igor,

if I understood right :

proxy_cache_bypass bypass directly the cache and serve the response from the upstream.
proxy_no_cache then prevent the response to be cached, unconditionally, after is fetched from upstream.

Your solution, then, may fit indeed my needs, thanks ! :)

I would like also to ask you if is possible to check whether a full cached file is present in proxy cache and, if yes, I would like to use my filter on that file instead of upstream. How may I check if a file is already in cache? Can I do it in config file? If not, how should I handle this in my module?

Thank you for you time !

Kind regards,

Paolo Iannelli
Subject Author Posted

Cache only if no args?

p.iannelli December 01, 2010 03:16PM

Re: Cache only if no args?

Igor Sysoev December 01, 2010 03:22PM

Re: Cache only if no args?

p.iannelli December 01, 2010 03:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 306
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready