Skip to main content

Caching Active Storage in the Browser

Rails • Asked by Russell Roberts
I am been using Carrier wave to up load images. I upload them then have the ability to create.a cropped version which I show on my web site.

The cache nicely on the web pages so they don't need re downloading every time they are shown.

I can seem to do this with Active Storage as the link is different on every page refresh is this just the way it is at the moment.

Also every time I crop It creates a new version instead of replacing the old cropped version as in Carrier wave.

I have not found any solutions in google yet.


I'm running into this also. Did you ever find a solution?


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.