Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to set up Linux to cache some commonly requested URLs so that it doesn't have to go out to the net to get them every time. This would be a system-wide URL cache, not just in a particular browser. For example, a program might request a few thousand times per day. There are many other URLs I'd like to cache as well.

Is there an app for that?

share|improve this question

This kind of apps is called "cache proxy" You may take a look at this wikipedia entry to quickly understand what is a cache proxy : You may also take a look at project :

share|improve this answer
This is the opposite of what I want. This isn't for a server, it's for a client machine. – Travis J Webb Mar 30 '12 at 16:49
Keep reading. You set up Squid on a server and either configure clients to use it as their proxy server or just have your firewall silently redirect all web traffic through the proxy. This will result in an office-wide cache, not just a system-wide cache. On a Linux client, you can set the http_proxy environment variable so that command line clients like curl and wget will all use it. – Ladadadada Mar 30 '12 at 17:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.