Date: Sat, 3 Dec 1994 11:08:22 +0100
Message-Id: <199412031008.LAA19222@tommy.nads.de>
From: Rainer Klute <klute@tommy.nads.de>
To: Multiple recipients of list <www-proxy@www0.cern.ch>
Subject: Re: What are the rules for caching
>I meant that the script would always
>return same page, given the right arguments ie.
>
>http://some.host.com/dogateway/a-database-ref.html
>or http://some.host.com/dogateway/a-database-ref.gif
>
>Where the script is always "dogateway" and the "a-database-ref.html"
>document is extracted using PATH_INFO. This then goes into an SQL query
>which returns the oppropriate blob and serves the html doc/image from a storga
ge
>system that might have more going for it than say a raw Unix filesystem. I
>cannot see any reason why Last-modified and Expired should not be sent just
>as if this doc was served directly from the Unix directory. If the correct
>ref (eg a-database-ref.html) is always used, myscript will always only return
>the single page referenced.
You are absolutely right. Script output like this should indeed
have appropriate Last-Modified and/or Expires headers. The same is
true for script output resulting from getting URIs with parameters
separated by a question mark, like
<http://some.host.com/dogateway?a-database-ref.html>. However, the
CERN proxy server chooses to not cache these. :-(
Best regards
Rainer Klute
Dipl.-Inform. Rainer Klute NADS - Advertising on nets
NADS GmbH
Emil-Figge-Str. 80 Tel.: +49 231 9742570
D-44227 Dortmund Fax: +49 231 9742573