Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 am wondering if it is possible to manipulate (Insert/Delete) data in the cache proxy server DB... well I'm not sure how a cache proxy server store the data. But What I am interested in is to add resources to the data base of my cache proxy before it gets it.

An example for clarification purpose: say you have downloaded some web page before, and now you are installing a cache proxy server, and you want your server to use the downloaded data, is such a thing possible? discard the fact that it is a stupid way, or web pages can change during time, I would be thankful to know if doing such is even possible. If yes, would you mention what proxy server you think is easier to do so with.

I tried reading Squid source to modify it in a way that such a thing would be possible, but seems to be a lot of work.

share|improve this question

Yes, it should be possible because you have the proxy source code (squid case). You can hack the code and do the necessary changes. Yes, it will require a lot of work. You need to understand how the cached objects are stored and retrieved without corrupting the squid cache.

share|improve this answer
true, when you have the source you can almost do anything... but this is not a common feature on web cache systems, is it? – mrz Jan 22 '13 at 8:13
up vote 0 down vote accepted

This link from Apache Traffic Server is describing what I want to do:

Traffic Server supports the HTTP PUSH method of content delivery. Using HTTP PUSH, you can deliver content directly into the cache without client requests.

so I guess I would use Traffic Server instead of Squid. In their Wikipedia page they have their bench marks and it seems to be a powerful tool.

share|improve this answer
Here I have described how to actually use Traffic Server to do so. – mrz Feb 5 '13 at 12:21

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.