We use mod_proxy to set up a reverse proxy to help regulate
loads on our backend mod_perl servers. Unfortunately,
whenever we change images on these backends, the change
will not be immediately reflected until the proxy cache
expires for that image (every 4 hours).
Currently, in order to force a cache clear, we must take the
proxy down and then start it again: a poor solution as it
cannot be automated. (We have a tool that helps automate site
updates.)
We are wondering if there is a way to tell mod_proxy to clear
its cache aside from doing a server restart. We have tried
sending it signals to no avail, and removing the cache files
manually causes the proxy server to hang.
Upon inspection, there does not appear to be functions in
mod_proxy that allow a cache flush, so the answer might be
that it is impossible.
Any insight, however, is appreciated.
Thanks,
Matthew Lewinski