-- Oguz YILMAZ On Mon, Sep 10, 2012 at 4:24 PM, Eliezer Croitoru <eliezer@xxxxxxxxxxxx> wrote: > On 9/10/2012 2:48 PM, Oguz Yilmaz wrote: >> >> Hi, >> >> I have read on working of offline_mode in the list. It is an >> aggressive caching parameter which prevent refreshing of already >> cached object and gives from the cache. However, if the object is not >> cached, it try to look for the object thru direct or cache peer. Do >> you have any suggestions for implementing a "completely offline" state >> with current squid parameters to prevent attempts to get uncached >> objects, also >> > this feature is not part of squid anymore. > there are other solutions for this kind of cache out there. willing to hear about those. > squid tries to be a more http friendly cache then just "cache all and ask > questions later". > > If you have a case when you need to cache more object squid can have more > strict cache acls for that. What I ask is not that. I only ask squid not to forward requests to anywhere even the content is not cached (not available). (This puts lots of latency during offline_mode on and internet is disconnected.) > If you do have a specific case we can maybe try recommend you how to > implement it with squid. > But you need first to understand what you do before doing it. I am clear on what I want :) and waiting for kind recommendations. Regards, > > Good luck, > Eliezer > >> Regards, >> >> >> >> -- >> Oguz YILMAZ >> > > > -- > Eliezer Croitoru > https://www1.ngtech.co.il > IT consulting for Nonprofit organizations > eliezer <at> ngtech.co.il