Proxy_cache recursive update.

atrus nginx-forum at
Tue Feb 21 08:14:26 UTC 2012

Hi guys,

I know that nginx proxy_cache is based on url (page). The cache file is
something like this : 
and it includes all the content of that page : text, image, banner, ...

Suppose that I have a site map (on real server) like this :

all the three pages are include the banner.jpeg by tag <img ...

The problem is, when I update the banner.jpeg with a new one (same file
name) on the real server, and I've updated the cached file banner.jpeg
on cached server (remove that cache file), but when I surf the
page1.html on cache server, it's still include the old banner.jpeg :(

Is there any way to fix this ? without delete all related cached files

I mean recursive update proxy_cache.

Thank you very much.

Posted at Nginx Forum:,222769,222769#msg-222769

More information about the nginx mailing list