cgit and Last-Modified header


When using remote modulesets (which has been the default behaviour for
some time already), jhbuild caches the downloaded files, and uses
Last-Modified, Expires and Etag headers for its cache strategy.

This works fine with svn http view:
    Last-Modified: Wed, 18 Feb 2009 12:34:17 GMT
    ETag: "2738//trunk/modulesets/gnome-suites-2.26.modules"

but will not be really useful with cgit:
    Expires: Wed, 18 Feb 2009 14:24:05 GMT
    Last-Modified: Wed, 18 Feb 2009 14:19:05 GMT
(14:19 GMT being the time the request is made).

It would be really nice if Last-Modified could reflect the actual time
the file was last modified; and if Expires was not set.

Note this is not *important*, just something nice that can wait.[1]



[1] I would have added it as an enhancement request but there is no
    indication of a bug tracker at

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]