> On Sun, Jun 17, 2007, Andreas Pettersson wrote: >> Alexandre Correa wrote: >> >Hello squid-users !!! >> > >> >i have one question about caching same file on diferent url !! how >> >squid act in this situation: >> > >> > >> >www.xxx.xxx.com/file.exe >> >www.yyy.yyy.com/file.exe >> > >> >same file... >> > >> >squid cache one file ? >> > >> No, if they are cachable they will be cached as two separate files. > > But if you'd like a fun project, figure out how to patch Squid to consider > those equivalent for storage and retrieval; youtube caching would be > possible > with something like that. > > Adrian > Should be possible on (but tricky, and maybe slow) to use a hash/MD5 or similar on the file binary instead of the URI. Good backup programs do it so accel configs should be easy. Problem (maybe the blocker) would be getting it out of the webserver, or long-term linking and caching of such maps. Amos