SSL Image Proxy
From Dreamwidth Notes
Dreamwidth's SSL image caching proxy is a web service that:
- listens for requests for embedded content served via HTTP
- downloads and caches the requested content
- returns a temporary HTTPS link to that content
This process allows Dreamwidth to successfully display insecure offsite content on a securely viewed page. Without the proxy, either the insecure content would be hidden, or browser warnings would be generated. The cached content expires every few hours, to avoid DMCA concerns.
The source code for the proxy is written in Go and can be found here: https://github.com/dreamwidth/dw-free/blob/develop/src/proxy/main.go