Welcome! Log In Create A New Profile

Advanced

Proxy_cache recursive update.

February 21, 2012 03:14AM
Hi guys,

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

Suppose that I have a site map (on real server) like this :
/page1.html
/page2.html
/page3.html
/banner.jpeg

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.
Subject Author Posted

Proxy_cache recursive update.

atrus February 21, 2012 03:14AM

Re: Proxy_cache recursive update.

atrus February 21, 2012 09:13AM

Re: Proxy_cache recursive update.

Valentin V. Bartenev February 21, 2012 10:32AM

Re: Proxy_cache recursive update.

atrus February 21, 2012 10:51PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 189
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready