SnakeLegs

Upon thy belly shalt thou go….

SnakeLegs header image 2

Preload Your Cache

September 15th, 2008 by Jason Filley · No Comments · Computers, Main

Might as well use the cache — that’s what it’s there for.  Like Vista’s Superfetch, or XP’s prefetch, or precompiling JSPs, or what have you.

For example, to load up your squid http proxy cache, just run:

 wget -r -nd -H –delete-after http://your.portal.company.local/

or

 wget -r -nd -H –delete-after -i some_file_with_URLs.html

wget’s –no-cache will force the proxy to download fresh copies, too.  Try loading popular pages.

Tags: