<div dir="ltr"><div class="gmail_extra"><div class="gmail_extra">Hey Amos,</div><div class="gmail_extra"><br></div><div class="gmail_extra">oh, i actually built archive mode squid by getting help at here,</div><div class="gmail_extra"><a href="http://bugs.squid-cache.org/show_bug.cgi?id=4604" target="_blank">http://bugs.squid-cache.org/<wbr>show_bug.cgi?id=4604</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">I was thinking if we have option vary_mode just like archive mode to set it for particular domain like,</div><div class="gmail_extra"><br></div><div class="gmail_extra">acl dlsslgoogle srcdomain <a href="http://dl-ssl.google.com" target="_blank">dl-ssl.google.com</a></div><div class="gmail_extra">vary_mode allow dlsslgoogle</div><div class="gmail_extra">Above could work one of the following way,</div><div class="gmail_extra"><br></div><div class="gmail_extra">1) We replace Vary header for srcdomain to some suitable option so request can be cached</div><div class="gmail_extra">2) This will remove vary header totally for the above domain.</div><div class="gmail_extra">3) above will use matching squid refresh pattern for srcdomain and only cache requests forĀ </div><div class="gmail_extra">particular type of file given in refresh_pattern</div><div class="gmail_extra"><br></div><div class="gmail_extra">What do you think would be easiar ? and how do i work on squid source to do above? any hint is appreciated.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">One more thing can you tell me if we are already violating http via options like nocache, ignore-no-store ignore-private ignore-reload, why can't we do the same for Vary header ?</div><div class="gmail_extra"><br></div><div class="gmail_extra">It seems servers that are notorious have Vary * header as well as at times (github) no Last modified header and these are the biggest bandwidth eaters.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks.</div><div class="gmail_extra">Hardik</div></div></div>