Forum: NGINX fastcgi_cache and 304 response

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
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?
This topic is locked and can not be replied to.