Bad default for proxy_cache_key
Maxim Dounin
mdounin at mdounin.ru
Tue Jul 29 23:01:38 UTC 2014
Hello!
On Tue, Jul 29, 2014 at 04:49:23PM -0300, Bráulio Bhavamitra wrote:
> Hum, a documentation of this use case is recommended. Personally, for me it
> is completely unknown and uncommon.
>
> Also, isn't caching entirely related to the URL the user used, and has
> nothing to do with the backend host?
The caching is related to the URL of the resource, and that's what
you write in "proxy_pass". The original URL of a resource
requested by the client in many cases has nothing to do with the
URL of the resource nginx requests with proxy_pass. They match
only in very simple configurations when you just proxy everything
without any modifications in nginx.
--
Maxim Dounin
http://nginx.org/
More information about the nginx
mailing list