Re: [squid-users] Multiple separate caches?

From: Matus UHLAR - fantomas <uhlar_at_fantomas.sk>
Date: Tue, 6 Jul 2010 10:33:35 +0200

On 30.06.10 13:59, Sean SPALDING wrote:
> I'm wondering if (and how) a single squid installation can be configured
> to treat 2 different ports on the same parent as different caches?
>
> I have an application behind squid, using it as an accelerator, that
> responds with different content to requests for the same URL based on the
> presence of a HTTP Header (inserted by an SSL offload device).
>
> Squid is serving out a single cache object as the URL is the same for both
> types of request but I need it to serve out 2 spearate streams of content
> based on the parent's receiving port, ie. 80 vs 8443.

I'd say this it misbehaviour of the solution. I guess a simple Vary: header
containing the name of the header inserted by ssl offload device should do
it.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Enter any 12-digit prime number to continue.
Received on Tue Jul 06 2010 - 08:33:38 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 15 2010 - 12:00:04 MDT