Welcome! Log In Create A New Profile

Advanced

Re: Nginx Proxy/FastCGI Caching X-Accel-Expires 0 or Off ?

Sergey Kandaurov
May 11, 2018 06:20AM
> On 11 May 2018, at 04:30, c0nw0nk <nginx-forum@forum.nginx.org> wrote:
>
> So in order for my web application to tell Nginx not to cache a page what
> header response should I be sending ?
>
> X-Accel-Expires: 0
> X-Accel-Expires: Off
>
> I read here it should be "OFF"
> https://www.nginx.com/resources/wiki/start/topics/examples/x-accel/#x-accel-expires
>
> But it does not mention if numeric value "0" has the same effect Nor does it
> mention if the "off" value is case sensitive or not.

Wiki materials are updated by its users and thus may not always
contain up-to-date and correct information.

See reference documentation:
http://nginx.org/r/proxy_cache_valid

--
Sergey Kandaurov

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

Nginx Proxy/FastCGI Caching X-Accel-Expires 0 or Off ?

c0nw0nk May 10, 2018 09:30PM

Re: Nginx Proxy/FastCGI Caching X-Accel-Expires 0 or Off ?

Sergey Kandaurov May 11, 2018 06:20AM

Re: Nginx Proxy/FastCGI Caching X-Accel-Expires 0 or Off ?

c0nw0nk May 11, 2018 11:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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