Welcome! Log In Create A New Profile

Advanced

fastcgi_cache and 304 response

January 11, 2014 04:46PM
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?


_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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: 286
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