Search squid archive

Using Squid as a cache for Apache -- and that's it

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

 



Hi,

I have googled like crazy for some simple instructions to setup Squid
as a cache for Apache. I do NOT want any filtering or authentication.
Just a transparent cache.

I am on CentOS 5. For firewall, I use the usual APF and BFD with
iptables, and I do not want to use Squid for any filtering.

I have installed squid with the usual "yum install squid". Now how do
I configure it so that Apache (on port 80) will internally check if a
file is cached on Squid (on whatever port) and if the file is found,
then serve that instead of an Apache connection.

Am I understanding Squid right? Also, will it cache dynamic content as
well -- I mean, for instance, the generated output of a PHP program,
at least the ones without url parameters? We have a number of pages on
the site that have no file extension at all (e.g., *.php) because the
default handler is set up as php, so we could have
http://ourdomain.com/index  -- and Apache serves this up as a php page
as it is meant to. Will Squid recognize this?

Thanks for any tips or pointers. I went to the wiki but sadly it talks
in very jargon-ish language, and does not answer the simple question
"How to install Squid as a cache for Apache".

PK

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

  Powered by Linux