Forum: NGINX fastcgi_cache and 304 response

B9a22b04b419f4f353f43e753b76d3d2?d=identicon&s=25 wishmaster (Guest)
on 2014-01-11 22:46
(Received via mailing list)
Hi,

I use nginx + php-fpm (via fcgi) and needed responses from php-server
are putting into cache. I have one thought, could be better send cached
pages to clients from cache with 304 code instead 200.
 So we must know time when response has been cached (something like
variable) and send 304 response as long as page will be in cache (this
time we know).

 Reading source codes I have not find any appropriate variable.

 Any ideas?
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.