[mirror-admin] Mirror configuration and proxies caching yum metadata

Matt_Domsch at Dell.com Matt_Domsch at Dell.com
Wed Aug 6 15:17:39 EDT 2008


I've received reports that caching proxy servers, those inbetween Fedora
public mirrors and Fedora end users, may be caching the yum metadata
(the contents of repodata/*) which then causes problems when the mirrors
update their content but the intermediate cache serves "stale" content.
As suggested by the OpenSUSE download redirector, I've added a section
to the recommended HTTPd config guidelines at
https://fedoraproject.org/wiki/Infrastructure/Mirroring#Caching_of_metad
ata


Caching of metadata

We don't want caching proxy servers between our mirrors and our end user
systems to cache our yum repository metadata. So, add explicit metadata
handling. (Suggested by the OpenSUSE download redirector.)

   <LocationMatch "\.(xml|xml\.gz|xml\.asc|sqlite)">
       Header set Cache-Control "must-revalidate"
       ExpiresActive On
       ExpiresDefault "now"
   </LocationMatch>



Please consider adding such a section to your httpd config files.

Thanks,
Matt
Fedora Mirror Wrangler

--
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux



--


More information about the Mirror-admin mailing list