ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46895] New: Caching documents from ant.apache.org requires additional HTTP headers
Date Mon, 23 Mar 2009 17:19:06 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46895

           Summary: Caching documents from ant.apache.org requires
                    additional HTTP headers
           Product: Ant
           Version: 1.7.1
          Platform: All
               URL: http://ant.apache.org/manual/index.html
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Documentation
        AssignedTo: notifications@ant.apache.org
        ReportedBy: Martin.vGagern@gmx.net


It seems that the HTML files served by ant.apache.org lack headers required for
caching, like ETag [1] or Last-Modified [2]. This has the effect that these
documents are not cached by most proxies or browsers, so that they have to be
requested over and over again, causing unnecessary server load as well as
annoying delays for clients.

I have initially observed this with the ivy manual, but later confirmed it for
other parts of the ant pages, like the manual. My transfers are usually
compressed using gzip, but I could also reproduce this with compression
disabled. I could also reproduce it using both HTTP/1.0 and HTTP/1.1.

Only HTML files seem to be affected, images are delivered with a lot of
caching-relevant headers, ETag and Last-Modified among them. I assume that the
images are served directly from their files, while the html files undergo some
processing, or are generated from a data base. Maybe you could tune this
process in such a way as to still provide Last-Modified and/or ETag?

If I can help with this in some way, like providing some network traffic dump
or having a look at server side scripts, please let me know.

[1] http://tools.ietf.org/html/rfc2616#section-14.19
[2] http://tools.ietf.org/html/rfc2616#section-14.29

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message