cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17924] New: - Cached resources don't have Expires-Header
Date Wed, 12 Mar 2003 16:27:32 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17924>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17924

Cached resources don't have Expires-Header

           Summary: Cached resources don't have Expires-Header
           Product: Cocoon 2
           Version: Current CVS
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: pmhahn@titan.lahn.de


My sitemap.xmap contains the following lines:
      <map:match pattern="image/**.png">
        <map:read src="resources/images/{1}.png" mime-type="image/png">
          <map:parameter name="expires" value="86400000"/><!--24*60*60*1000-->
        </map:read>
      </map:match>

If I request a resource matching that, I do get the following after a fresh restart:

$ HEAD http://walker:8180/image/ci/l-location-bg.png
200 OK
Connection: close
Date: Wed, 12 Mar 2003 16:09:31 GMT
Accept-Ranges: none
Server: Apache Coyote/1.0
Content-Length: 176
Content-Type: image/png
Expires: Thu, 13 Mar 2003 16:09:31 GMT
Client-Date: Wed, 12 Mar 2003 16:09:34 GMT
Client-Response-Num: 1
X-Cocoon-Version: 2.0.5-dev

If I repeat the same request, I get the same answer _without_ the "Expires" and
"Accept-Ranged" headers, but with a "Last-Modified" header:

$ HEAD http://walker:8180/image/ci/l-location-bg.png
200 OK
Connection: close
Date: Wed, 12 Mar 2003 16:09:35 GMT
Server: Apache Coyote/1.0
Content-Length: 176
Content-Type: image/png
Last-Modified: Wed, 08 Jan 2003 12:24:06 GMT
Client-Date: Wed, 12 Mar 2003 16:09:38 GMT
Client-Response-Num: 1
X-Cocoon-Version: 2.0.5-dev

Mime
View raw message