S
S
shur1k2014-06-15 21:25:17
PHP
shur1k, 2014-06-15 21:25:17

Duplicate Cache-Control and Expires headers?

Greetings!
One problem with double HTTP headers haunts:

Cache-Control:must-revalidate, no-cache, private
Cache-Control:no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection:keep-alive
Content-Encoding:gzip
Content-Type:text/html; charset=UTF-8
Date:Sun, 15 Jun 2014 18:03:53 GMT
Expires:Tue, 17 Jun 2014 16:18:11 GMT
Expires:Thu, 19 Nov 1981 08:52:00 GMT
last-modified:Sun, 15 Jun 2014 11:18:11 GMT

Apache + Nginx Proxy is used. There is clearly nothing about headers in nginx.
location / {
        proxy_set_header X-Real-IP  $remote_addr;
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_pass http://127.0.0.1:8080; # Apache listening
        }

Google threw in the session_cache_limiter php.net/manual/en/function.session-cache-limiter.php account . But perhaps someone has already encountered this problem and has more accurate information :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey, 2014-06-19
@rdifb0

Maybe it's crammed with headers in the php code itself, look through headers_list

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question