Search squid archive

forcing retrieval of cached copy

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

 



Due to a screwup of backups, I have a want to retrieve some webpages and 
objects from the cached copies I know exist in my own personal squid 
cache.  I'm running squid 2.5.STABLE14.

I played around with squidclient mgr:offline_toggle and refresh_pattern, 
but can't convince it not to keep using IMS queries, and/or things like 
google (without ? and cgi-bin in the url) that are simply always TCP_MISS.

Without applying any patches or running a different version, is there a 
way to convince it to really and truly ignore all expires, age, etag etc 
related headers and if there is a local cache copy at all, do not consult 
the web at all, not even for an if-modified-since query?

Or perhaps is there a squid commandline query tool, or an option to wget, 
curl or lynx that I missed to tell it to tell squid just grab the cached 
copy no questions asked?

Related of course, is there a tool that shows what is currently in the 
cache?

I found this FAQ entry from squid 1: 
http://wiki.squid-cache.org/SquidFaq/SquidLogs#head-f2cf2b26556b6ca0a963b749898b0a38f4254e0b
which won't apply here.

squidclient cache_object://localhost/vm_objects
won't get it because the machine has been restarted since I last loaded 
the pages in question, and 
squidclient cache_object://localhost/objects
doesn't get the URL.

-- 
Tim Connors


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

  Powered by Linux