Caching dynamic content

From: Jochen Dolze <dolze@dont-contact.us>
Date: Sat, 28 Oct 2000 19:52:58 +0200

Hi,

we are trying to cache dynamic content with squid-2.3stable. Our own
scripting-language is able to produce Last-Modified and ETag-Headers.

A reply from the server contains e.g.:

Last-Modified: Fri, 18 Aug 2000 13:14:58 GMT
ETag: "0-1cca-399d36d2"
Content-Length: 8135

It works fine with certain different URLs!

Are these two contents different for squid, or is squid only taking the URL
to identify different pages?:

http://web.test.com/file.html?var=1

Last-Modified: Fri, 18 Aug 2000 13:14:58 GMT
Content-Encoding: gzip
ETag: "0-2345-34232425"
Content-Length: 3112

http://web.test.com/file.html?var=1

Last-Modified: Fri, 18 Aug 2000 13:14:58 GMT
ETag: "0-2345-34232425"
Content-Length: 7135

In my case, MSIE5.5 got with squid the wrong cached object!!! Must i use
different ETags for compressed/uncompressed content?

One URL can produce hundred different pages of content. Does squid take care
of this? Must i produce different ETags or MD5-Headers for each file?

http://web.test.com/file.html?var=2
http://web.test.com/file.html?var=24
http://web.test.com/file.html?var=536
...

How does squid determine different content?

Thanks

   Jochen Dolze

---
EPCNet GmbH
ISP & Web Design
Bleichstrasse 24
89077 Ulm
Tel. 0731-1416 0
Fax 0731-1416-120 
Received on Fri Nov 03 2000 - 01:40:09 MST

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