April 19, 2011 11:38PM
Hi all,

I was looking into fastcgi_cache settings, in Nginx.
Is it required to pass the header X-Accel-Expires, in order for Nginx to cache the data, or do I have set only the fastcgi_no_cache and fastcgi_cache_bypass values?

fastcgi_pass_header Set-Cookie;
fastcgi_pass_header X-Accel-Expires; <-- not needed, IMO
fastcgi_no_cache $cookie_cache;
fastcgi_cache_bypass $cookie_cache;

Thanks.
Subject Author Posted

X-Accel-Expires passed or not?

TECK April 19, 2011 11:38PM

Re: X-Accel-Expires passed or not?

Igor Sysoev April 20, 2011 01:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 59
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready