I posted this on stackoverflow already but I thought I might have more
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
returns a 304. Nginx just gets a new copy whenever it expires, and I
trigger a revalidate either. I’ve tried different approaches with
cache-control headers but nginx doesn’t seem to respect them.