开发者

How do I "install" specific web files on a proxy server?

开发者 https://www.devze.com 2023-01-29 07:40 出处:网络
This is for a in house system, that is required to be set-up this way. I need specific web files, for example, all images to be manually pre-installed on a proxy server and never downloaded from the

This is for a in house system, that is required to be set-up this way.

I need specific web files, for example, all images to be manually pre-installed on a proxy server and never downloaded from the web server.

When the browser request the page, the only thing sent from the web server to the proxy should b开发者_如何转开发e the plain html page.

I would then like the images the html page uses, to be grabbed from the the proxy every time, for the complete render to the browser.

Is there a name for this set up? I have seen about caching but I do not even want the images downladed once. In addition, how would the html page know to use the images from the proxy?

How would I set up such a thing? I do not have a proxy server set-up yet so I do not know what platform I will be using, but suggestions are appreciated.

Thank You.


Well, I think that you could, for example, use Privoxy and tell it to redirect some queries for images to a local server or even let it replace the img src=" attribute inline using regexes.

0

精彩评论

暂无评论...
验证码 换一张
取 消