Welcome! Log In Create A New Profile


fastcgi_cache and 304 response

January 11, 2014 04:46PM

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?

nginx mailing list
Subject Author Posted

fastcgi_cache and 304 response

artem January 11, 2014 04:46PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 111
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready