Apache’s caching (mod_cache) vs squid reverse-proxy caching

apache-2.2cachePROXYreverse-proxysquid

simple question about an area im not familiar with.

which one is best for caching?

are there other options?

cause i want to be sure which one to use before i learn it. so i dont have to realize afterwards that it was a bad choice.

so would be great if someone could shed a light on this topic.

Best Answer

I would choose HAProxy and Varnish over squid at this time for caching static content. Another great and VERY effective way is to cache SQL queries with memcached

When you have the chance to have multiple servers, aim for multiple instances of Cherokee, Nginx or Apache along with a MySQL or PosgreSQL and memcached.

Good luck!