ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46895] New: Caching documents from requires additional HTTP headers
Date Mon, 23 Mar 2009 17:19:06 GMT

           Summary: Caching documents from requires
                    additional HTTP headers
           Product: Ant
           Version: 1.7.1
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Documentation

It seems that the HTML files served by 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.


Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message