Is it possible to set a Request Header in a Squid Request to respond with a 404 if not found in Cache? -
i have tried @ documentation, have not found info on yet.
you 2 squids (or squid , apache instance mod_proxy)...
configure squid1 use squid2 parent cache_peer. configure second squid proxy no caching enabled.
with configuration in place, populate whatever content need squid1's cache making requests needed content.
when you're ready "close door", speak, make url_rewriter helper squid2 returns single string containing known-invalid url. restart squid2 url_rewriter in place.
when config in place, cached content served normally, while squid1 go squid2 uncached content, return 404 urls.
Comments
Post a Comment