Nginx apache none headers
-
Good afternoon. I have the following problem. To plug page cache and browser cache – etag, cache-control. My server works in conjunction nginx + apache. After full resetting the cache in plagin, header is displayed correctly ONCE “Server: nginx/1.6.2
Date: Mon, 09 Mar 2015 16:02:04 GMT
Content-Type: text/html; charset=”UTF-8″
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
X-Powered-By: PHP/5.3.13
X-Pingback: http://hobbycomp.ru/xmlrpc.php
Pragma: public
Cache-Control: max-age=604800
Etag: dc9127ff4b50b892448f58181b3bdaaa
Expires: Mon, 16 Mar 2015 16:02:04 GMT
Content-Encoding: gzip”
Further, the value of the Apache header not appear (((I think this is due to the nginx, which gives cached static, but Apache does not work at this point. How do I get to give headers cached pages?
And repeated the following query
“Server: nginx/1.6.2
Date: Mon, 09 Mar 2015 16:06:44 GMT
Content-Type: text/html; charset=”UTF-8″
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
Expires: Mon, 16 Mar 2015 16:06:44 GMT
Cache-Control: max-age=604800
Content-Encoding: gzip”
Non etag (((
The topic ‘Nginx apache none headers’ is closed to new replies.