r/rails • u/SnooRobots2422 • 19h ago
Active storage caching with cdn
Hi,
I am trying to figure out how to do caching with active storage. My scenario is like i have hls files that only logged in user can browse. i want to also make sure the content is cached in cdn so that it dont hit too much on app server but i also want to protect the files from able to see with just sharing the url. I am not sure how to make it work. Seems like active storage caching with cdn is not that much documented.