Search squid archive

Re: 10 caches - same age

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

 



	Hiyas,

Btobew escreveu:
hi all, I have 10 squids running and I need that one specific object has the same age in all caches.
will ICP solve my problem ? What can I do to solve?

	Not directly, but yes (as it will be just part of the solution).

If you configure some kind of hierarchy on your cache servers (sibling, for example), squid will use ICP to verify if any of its siblings have the requested object. If positive, it will request the object from the sibling, and store the object on its own cache.

As a result, all servers will either contain the same cached object (including http headers), or no object at all. Cacheability rules for this object will be the same to all servers at the same time.

thanks

$ wget -S "http://aaa.com/aaa.gif";
  HTTP/1.1 200 OK
  Date: Tue, 17 Oct 2006 16:02:22 GMT
  Server: Apache/2.0.52 (Fedora)
  Last-Modified: Thu, 10 Aug 2006 14:27:50 GMT
  ETag: "5f193-59e-a1e8e580"
  Accept-Ranges: bytes
  Content-Length: 1438
  Content-Type: image/gif
  Age: 3065
  X-Cache: HIT from mistress2-1.uol.com.br
  Connection: close



$ wget -S "http://aaa.com/aaa.gif";
  HTTP/1.1 200 OK
  Date: Tue, 17 Oct 2006 16:02:24 GMT
  Server: Apache/2.0.52 (Fedora)
  Last-Modified: Thu, 10 Aug 2006 14:27:50 GMT
  ETag: "5f193-59e-a1e8e580"
  Accept-Ranges: bytes
  Content-Length: 1438
  Content-Type: image/gif
  Age: 4063
  X-Cache: HIT from cache1-1.uol.com.br
  Connection: close




--
Domingos Parra Novo
Coordenador de Projetos
Terra Networks Brasil S/A
Tel: +55(51)3284-4275

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

  Powered by Linux