This article explains how you can set up a caching reverse proxy with Squid
2.6 in front of your web server on Debian Etch. If you have a
high-traffic dynamic web site that generates lots of database queries
on each request, you can decrease the server load dramatically by
caching your content for a few minutes or more (that depends on how
often you update your content).