If changeOrigin is set to false then all requests are forwarded with thier original names to the target. But caching seems to affect only Url Paths - not domains.
1) Client requesting h1.example.com/test.htm -> request forwareded to target squid.example.com and returning proper content.
2) Client requesting h2.example.com/test.htm -> request served by cache and returning content of h1.example.com/test.htm, Asynchronously refreshing response.
3) Client requesting h1.example.com/test.htm -> request served by cache and returning content of h2.example.com/test.htm, Asynchronously refreshing response.
Do i have to run a Instance of http-stale-cache-proxy for every virtual webhost? Or will it be possible to store/retrieve cache-Objects with correct domainnames?
I'm sorry for the long delay. The hostname wasn't be used when calculating the cache key, so the cache wasn't unique across different domains. I believe this should be fixed in v0.2.0 that I just pushed live.
If changeOrigin is set to false then all requests are forwarded with thier original names to the target. But caching seems to affect only Url Paths - not domains.
1) Client requesting h1.example.com/test.htm -> request forwareded to target squid.example.com and returning proper content.
2) Client requesting h2.example.com/test.htm -> request served by cache and returning content of h1.example.com/test.htm, Asynchronously refreshing response.
3) Client requesting h1.example.com/test.htm -> request served by cache and returning content of h2.example.com/test.htm, Asynchronously refreshing response.
Do i have to run a Instance of http-stale-cache-proxy for every virtual webhost? Or will it be possible to store/retrieve cache-Objects with correct domainnames?