RE: [squid-users] How to do disable client caching ( Internet Expoloer ) in Reverse proxy mode ?

From: Stephen <ssha@dont-contact.us>
Date: Fri, 4 May 2007 13:07:38 +0100

I would try operating the origin website on SSL, (or try running Squid
as an HTTP -> HTTPS bridge - but probably too complicated). I believe
that if content is delivered by SSL, it is not cached by the browser in
a way that is readable...

Just my 2c worth...
Stephen

-----Original Message-----
From: Michael Alger [mailto:squid@mm.quex.org]
Sent: 04 May 2007 12:44
To: squid-users@squid-cache.org
Subject: Re: [squid-users] How to do disable client caching ( Internet
Expoloer ) in Reverse proxy mode ?

On Fri, May 04, 2007 at 07:12:34PM +0900, Seonkyu Park wrote:
> I'm using squid for reverse proxy for 'flv' progressive download.
>
> As you know, 'flv' is flash live video files. ( youtube... etc )
>
> I want client's pc has not flv files.
>
> But automatically 'flv' file saves in Internet Explorer ( C:\Documents

> and Settings\Owner\Local Settings\Temp )
>
> How to do disable client caching with squid ?

Why do you want to? If it's to stop people from being able to copy the
files, you'll fail. Otherwise...

> ( ie: meta tag swap .. Can do this squid ?
> <META http-equiv="Expires" content="-1"> <META http-equiv="Pragma"
> content="no-cache"> <META http-equiv="Cache-Control"
> content="No-Cache">
> )

Squid can only remove headers, to the best of my knowledge. To add them,
you need to do it on the origin server. You say you're using squid as a
reverse proxy, so you'll need to configure your web server to set the
appropriate HTTP headers when serving .flv files; you can't use HTML
<meta> tags, they need to be real HTTP headers.
(I'm guessing .flv files don't have anywhere to put such things, but it
seems like a fairly safe guess.)

Even with this done, it's posible MSIE will still save the files as part
of how it operates internally. I'm not certain about that, though.


******************************************************************
Think Before You Print

==================================================================
The HENLEY College
------------------------------------------------------------------
This message and any files transmitted with it is intended for the
addressee only and may contain information that is confidential
and/or legally privileged.

Unauthorised use is strictly prohibited and may be unlawful. If you
are not the addressee, you should not read, copy, disclose or
otherwise use this message, including any picture or graphic and any
attachment, except for the purpose of delivery to the addressee. We
make every effort to keep our network free from viruses. However, you
do need to verify this e-mail and any attachments to it to be virus
free as we can take no responsibility for any computer virus which
might be transferred by way of this e-mail.
Received on Fri May 04 2007 - 06:04:50 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jun 01 2007 - 12:00:04 MDT