Re: Mirrors not allowing Directory Listings

Matus UHLAR - fantomas <[email protected]> Mon, 21 Jun 2021 15:08:42 +0200
Newsgroups gmane.linux.debian.user.mirrors
Message-ID <[email protected]>
>On Fri, Jun 18, 2021 at 09:49:28AM +0200, Matus UHLAR - fantomas wrote:
>> now that I look at it, apache's:
>>
>> IndexOptions +TrackModified
>>
>> http://httpd.apache.org/docs/2.4/mod/mod_autoindex.html#indexoptions.trackmodified
>>
>> should generate headers suitable for caching on clients and your frontend
>> too.
>>
>> I have checked it on my server and looks like it works
>> - apache shows 2 days old Modified: instead of current.

On 21.06.21 13:11, Carsten Otto wrote:
>Thanks! We never looked into webserver based caching, but that'd help.

no problem - when you complained, I found out that my server is also not
configured to provide cacheable content here. I have changed it to do so.

Regardless of requiring indexability of mirror content, the "please ensure"
section could be enhanced by adding +TrackModified to provide cacheable
content (mirrors should benefit of this).