Re: set cache-control in a subfolder (php)

2016-11-17 Thread Francis Daly
On Thu, Nov 17, 2016 at 04:17:36AM -0500, JoakimR wrote: Hi there, > Hi I'm trying to override my default cache-control in my /admin/ folder One request is handled in one location. Only the config that applies in that location applies to the request. > location /admin/ { >

set cache-control in a subfolder (php)

2016-11-17 Thread JoakimR
Hi I'm trying to override my default cache-control in my /admin/ folder location /admin/ { add_header “Cache-Control: no-cache”; try_files $uri =404; access_log off; } but everything have a wrong cache-age by running curl -I curl -I