RE: www.microsoft.com looping

From: Larmour, Jonathan <Jonathan.Larmour@dont-contact.us>
Date: Fri, 31 Oct 1997 02:14:38 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Duane has already posted a patch for this problem. Its a bug in
squid.

.asp files already do return the header "Cache-control: private" in
all their headers, and have the Expires header earlier than the Date
header, which is the correct thing to do in their case - it shouldn't
really be up to squid to decide what is and isn't cacheable. However,
squid was ignoring this for redirects, and caching them anyway. Look
in the squid-users archives for the patch.

Also, I think having a cache_stop_acl and hierarchy_stop_acl would be
useful features, which would be able to do what you said a bit better
by having e.g. cache_stop_acl \.asp$ which will not cache things with
the .asp extension at the end of the URL.

But the default need not be changed as Active server pages are "cache-
friendly" already (in as much as they at least _say_ the page can't
be cached).

Jonathan L.
Origin, 323 Cambridge Science Park,Cambridge,UK. Tel:+44 (1223)
423355
 ---[ It is impossible to enjoy idling thoroughly unless one has ]---
 ------------[ plenty of work to do - Jerome K. Jerome ]-------------
Fight spam! http://spam.abuse.net/ These opinions are all my fault

- ----------
From: Armistead, Jason
Sent: 31 October 1997 04:32
To: 'Squid-Users'
Subject: RE: www.microsoft.com looping

[snip]
So, in a nutshell, I believe any ASP files should be treated as 100%
non-cacheable, all the time, PERIOD !!!
[snip]

I think Duane should modify the default configuration squid.conf.in
to
include ".asp" as one of the cache_stoplist (be careful about the
period so sites with asp in their name aren't affected). Maybe this
could be a bit more refined, so that URLs such as http://www.asp.com/
or
http://www.activeserver.com/pages.asp/temp.html aren't evicted, but
let's face it, these are by far in the m
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBNFk+yYYLUv2rigzBEQK5KQCgyQZklVEhxRgL+5B7/amkam490w4AnRoW
7Qvkffgd6PrcdTsrv5bZ7ctl
=7s0t
-----END PGP SIGNATURE-----
Received on Thu Oct 30 1997 - 18:18:13 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:37:23 MST