Forum: NGINX fastcgi_cache and 304 response

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
wishmaster (Guest)
on 2014-01-11 22:46
(Received via mailing list)

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.