> I'm hoping I can figure out how to configure my router (wrt54g with
> tomato) to run it as a transparent cache.

http://www.pps.jussieu.fr/~jch/software/polipo/faq.html#interception

> I became interested in caching when my mother in-law signed up for
> satellite internet with a 2Gb a month package and 36 month contract.
> she and her husband normally hit there cap about at day 18-20 every
> month. leaving them with a 24Kbs connection the remaining 10-12 days.
> so I'm hoping to knock down some bandwidth for them.

Yep, Polipo should be fine for that, as long as they don't use streaming
video.  Polipo has some limitations that make it unsuitable for
streaming video.

(Polipo should be able to detect streaming video and switch to
tunnelling mode.  But that's for another lifetime.)

> I am wanting to cache a few entire sites, and auto update at scheduled
> intervals.
> I know that I can wget can pull a site, but as far as I can tell there
> isn't a setting to tell polipo to use it and let wget pull it once a
> day/week/month. for that site but cache everything else as normal.

Why don't you simply create a cron job that does something like (untested):

  set -e

  su nobody

  dir="$(mktemp -d)"
  cd "$dir"
  http_proxy=http://localhost:8123 wget -r --header 'Cache-Control: 
max-stale=90000' http://www.pps.jussieu.fr/
  cd /
  rm -rf "$dir"

-- Juliusz

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to