4 ms·
I'm not sure if WordPress is actually doing this, but they might be using something like camo[1] to transparently rewrite any http:// http:// URLs to an image p
by pfg 11y ago
I'm not sure if WordPress is actually doing this, but they might be using something like camo[1] to transparently rewrite any http:// http:// URLs to an image proxy running on SSL.
This gets harder to implement correctly depending on what kind of content you allow on your sites (i.e. does your CMS only permit sanitized HTML, or are users allowed to do basically anything?), so it's not a perfect solution for everyone, but it might work here.
[1]: https://github.com/atmos/camo https://github.com/atmos/camo
- stock_toaster 11y agoAnd if node isn't your thing, there is a work-a-like[1] written in Go. Disclosure: I am the author of go-camo. [1]: https://github.com/cactus/go-camo https://github.com/cactus/go-camo
- barsxl 11y agoPhoton[0] does exactly this (and more!) and is free to use as part of Jetpack[1] 0. http://developer.wordpress.com/docs/photon/ http://developer.wordpress.com/docs/photon/ 1. https://wordpress.org/plugins/jetpack/ https://wordpress.org/plugins/jetpack/