简体   繁体   中英

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

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 be 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.

好吧,我认为您可以例如使用Privoxy并告诉它将对图像的某些查询重定向到本地服务器,甚至让它使用正则表达式替换img src="属性内联。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM