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.


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.

  • Here I have described how to actually use Traffic Server to do so.
    – mrz
    Feb 5 '13 at 12:21

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.

  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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