External images proxy
質問
Is there a way to proxy external images w/o downloading them at all?
My idea is to provide a script (i.e. proxy.php
) which I could use in an src
attribute like this:
<img src="http://myseconddomain.com/proxy.php?img=http://example.com/externalimage.png">
解決
You'd have to download them atleast once. Once that's done, you can cache them and serve the images off the cache. This is a subset of a more general caching proxy.
所属していません StackOverflow