Yum, Proxy Cache Safety, Storage Backend

Les Mikesell lesmikesell at gmail.com
Thu Jan 24 14:12:41 UTC 2008


James Antill wrote:
>
>>> It sounds like you are using a transparent proxy.  Just redirect 
>>> mirrors.fedoraproject.org to localhost at another port and serve files 
>>> so the mirrorlist URL's hand back a single mirror of your choosing.
>> Actually thats another way to handle the caching problem with most proxies
>> and static content servers. If you get
>>
>> 	http://....../....static.file?random-16-digits
>>
>> apache and most web servers will discard the query bits and the cache won't
>> be able to decide if the content is the same ;)
> 
>  "most"? I'm guessing you don't mean that by number of web servers ...
> maybe by "most commonly deployed". Others can/do 301 redirect you to the
> actual URL, or 404, or...

Will all of them work correctly if you send 'Pragma: no-cache' or http 
1.1 Cache-control: headers?

-- 
   Les Mikesell
    lesmikesell at gmail.com




More information about the devel mailing list