How to make proxy revalidate resource at origin

Thijs Koerselman thijskoerselman at
Fri Sep 27 15:09:24 UTC 2013


I posted this on stackoverflow already but I thought I might have more luck
here :)

In short, I can't find a way to make nginx revalidate a cached resource
with the origin. Whenever nginx is in front of my server, the origine never
returns a 304. Nginx just gets a new copy whenever it expires, and I can't
trigger a revalidate either. I've tried different approaches with
cache-control headers but nginx doesn't seem to respect them.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list