How to make proxy revalidate resource at origin

Andrew Alexeev andrew at
Fri Sep 27 15:14:40 UTC 2013

On Sep 27, 2013, at 7:09 PM, Thijs Koerselman <thijskoerselman at> wrote:

> Hi,
> 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. 

You may want to check this :)

> Cheers,
> Thijs
> _______________________________________________
> nginx mailing list
> nginx at

More information about the nginx mailing list