All threads / Caching Active Storage in the Browser

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Caching Active Storage in the Browser

Russell Roberts asked in Rails
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?

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 38,311+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.