Saturday 15 August 2015

caching - do i need to change the owner of nigix cache files to the owner of application folder -


I have installed nginx as a reverse proxy caching server in my Ubuntu.

Getting the files

The owners and content of this folder are www-data and my app is the owner

I should change the owner of my cache files Roots for pages to be saved in Nginx cache?

Edit:

  Cash-control no-store, no-cache, re-modified, post check = 0, pre-check = 0 keep-alive-alive content -Encoding gzip content length 3817 Content-type text / html; Charset = utf-8 Date Fri, 29 Mar 2013 10:19:23 GMT Thursday, November 19, 1981, 08:52:00 GMT Ends Pragma no-cache server nginx / 1.1.19 Vary Accept-Encoding X -Cache-Status This is my response to MISS X firebug   

Itemprop = "Text">

References :.

  set-cookie A non-numeric or 0 value with a time in cash-controlled "no-cache", "no-cache", "no-cache store", "private" or "x-axel-xb-excis" "Maximum-Age" ends with: 0    

Depending on your updated question, your upstream server gives the expiration time in the previous and cache-control: no-cache Etc.

  cash-control no-store, no-cache, should-authorized, type Ost check = 0, pre-check = 0 ends Thursday, November 19, 1981 08:52:00 GMT Pragma no-cache   

So nginx does not cache correctly To determine the canning, there is a way to ignore these headers and tell NGN to hide bad expressions, headers etc. X-Excel-Experimental Exshares Expired Cache-Control Set-Cookie; Proxy_hide_header Pragma Cash -Control control;

It shows that, from you too Can, eg.,

  1d is terminated;   

To expire the proxy cache for 1 day.

No comments:

Post a Comment