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

Sergey Kandaurov pluknet at
Fri May 11 10:17:55 UTC 2018

> On 11 May 2018, at 04:30, c0nw0nk <nginx-forum at> 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"
> 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:

Sergey Kandaurov

More information about the nginx mailing list