My way to force cache expire

Piotr Sikora piotr.sikora at frickle.com
Thu Jun 24 19:43:32 MSD 2010


Hi,

> It does. It's in production now and it works perfectly.
> I have doubts about the second configuration

It does, but only because your backend doesn't set cache headers for 
logged-in users, otherwise all your users would see the same page.

You should really use "proxy_no_cache" for such things:
    proxy_no_cache  $cookie_my_app_cookie;

Best regards,
Piotr Sikora < piotr.sikora at frickle.com >
 




More information about the nginx mailing list