Search squid archive

i was wondering about caching sourceforge.net files

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

 



if it's related to anything directly with squid i would say it refers to the store_url_rewite of V2.7.
so the thing is related to caching and not directly to squid.

there are many download mirrors to sourceforge.net and i was wondering about he pattern of the domains in order to make a url rewriting for it.

so it's like a "cdn" network.
is ther any other then the store_url_rewrite or squid+nginx means to cache the files?(examples to the url structure down)


one sample is the dia tool links.

the download page is :
http://sourceforge.net/projects/portableapps/files/Dia%20Portable/DiaPortable_0.97.2.paf.exe/download

and the download links are:
http://downloads.sourceforge.net/project/portableapps/Dia%20Portable/DiaPortable_0.97.2.paf.exe?r=http%3A%2F%2Fportableapps.com%2Fapps%2Foffice%2Fdia_portable&ts=1332855745&use_mirror=garr

# the above is redirecting to the next:
http://garr.dl.sourceforge.net/project/portableapps/Dia%20Portable/DiaPortable_0.97.2.paf.exe


#this is from another mirror:
http://downloads.sourceforge.net/project/portableapps/Dia%20Portable/DiaPortable_0.97.2.paf.exe?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fportableapps%2Ffiles%2FDia%2520Portable%2FDiaPortable_0.97.2.paf.exe%2Fdownload&ts=1332856258&use_mirror=internode

#thats redirecting to:
http://internode.dl.sourceforge.net/project/portableapps/Dia%20Portable/DiaPortable_0.97.2.paf.exe

so i'm guessing it's really simple:
all the downloads have the same uri but and host except the low level domain.

so just to replace the low level domain with something else.

means a "cdn" like thing and very simple to cache using nginx and squid.

Thanks,
Eliezer



--
Eliezer Croitoru
https://www1.ngtech.co.il
IT consulting for Nonprofit organizations
eliezer <at> ngtech.co.il


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux