Active Storage: permanent URLs w/o redirects, using Digital Ocean behind Cloudflare
A short post on how to use Active Storage with Digital Ocean fronted by Cloudflare (to save money on bandwidth), and how to load attachments directly from the CDN without requests going through the app first, and then being redirected to the CDN.
Post a comment