What is the Squid cache resolution algorithm?
1. Send ICP queries to all appropriate neighbors 2. Wait for all replies to arrive with a configurable timeout (default 2 seconds). 3. Begin fetching the object upon receipt of the first HIT reply, or 4. Fetch the object from the first parent which replied with MISS (subject to weighting values), or 5.
• Send ICP queries to all appropriate siblings • Wait for all replies to arrive with a configurable timeout (the default is two seconds). • Begin fetching the object upon receipt of the first HIT reply, or • Fetch the object from the first parent which replied with MISS (subject to weighting values), or • Fetch the object from the source The algorithm is somewhat more complicated when firewalls are involved.