Nginx doesn't honor Cache-Control: no-cache _request_
mjaw at ikp.pl
Mon Aug 3 16:28:56 MSD 2009
On Mon, 2009-08-03 at 15:17 +0400, Igor Sysoev wrote:
> No, currently nginx ignores the reload because everyone may flush
> popular and heavy generated pages from your cache.
> I plan to allow reload only from limited set of addresses.
Cache-control: no-cache request isn't supposed to revalidate/invalidate
Logic is fairly trivial - exactly as i showed in my nonexisting
variable/wrong syntax example - nginx should simply omit checking
the cache when receiving such request, go for the backend and serve
backend's response without doing anything to the cache.
Mirosław "Psyborg" Jaworski
GCS/IT d- s+:+ a C++$ UBI++++$ P+++$ L- E--- W++(+++)$ N++ o+ K- w-- O-
M- V- PS+ PE++ Y+ PGP t 5? X+ R++ !tv b++(+++) DI++ D+ G e* h++ r+++ y?
"Atheism is a non-prophet organization."
More information about the nginx