-
-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#401Images vanishing #403
base: main
Are you sure you want to change the base?
#401Images vanishing #403
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This solution doesn't work for other active storage backends. It only fixes it for local, which you probably shouldn't be using.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was mistaken. According to the docs this solution is supposed to generate a permanent URL. I'm curious as to how that would work backends like S3, but this seems like right approach.
@jarednorman we are installing the first prod similar env this week and can try it before anybody merges this. |
@magpieuk is this a permanent setup for you or will you add any external media hosting in production like S3? |
@magpieuk i will test it today. Can you tell me more about the environment that produced the problems? |
This won't work if you have Solidus |
I am not sure if paperclip is still supported. I think that's something to be asked on slack and to be aligned on docs afterwards. |
Paperclip is still supported. |
Summary
Fixes #401
Images disappear when running in production mode with caching enabled.