Welcome! Log In Create A New Profile

Advanced

Re: [nginx] Is proxy_cache_valid required?

Robert Paprocki
July 25, 2014 01:02PM
Thanks, this was indeed the problem- I should have checked that first.
Thank you as always Maxim! :D

On 07/25/2014 09:49 AM, Maxim Dounin wrote:
> Hello!
>
> On Fri, Jul 25, 2014 at 09:30:04AM -0700, Robert Paprocki wrote:
>
>> Hello!
>>
>> I had trouble this morning setting up a basic cache with a proxy. Based
>> on the proxy documentation and
>> http://nginx.com/resources/admin-guide/caching/, I did not expect to
>> have to set proxy_cache_valid; however, when this directive was not set
>> anywhere, I saw no cache files written.
>
> The proxy_cache_valid directives are needed if backend response
> doesn't indicate cacheability of the response with "Cache-Control:
> max-age=...", "Expires", or "X-Accel-Expires" (or if these headers
> are ignored using the "proxy_ignore_headers" directive).
>

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

[nginx] Is proxy_cache_valid required?

Robert Paprocki July 25, 2014 12:32PM

Re: [nginx] Is proxy_cache_valid required?

BrĂ¡ulio Bhavamitra July 25, 2014 12:38PM

Re: [nginx] Is proxy_cache_valid required?

Maxim Dounin July 25, 2014 12:50PM

Re: [nginx] Is proxy_cache_valid required?

Robert Paprocki July 25, 2014 01:02PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 236
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