Skip to content

Production Images Break #5715

Apr 6, 2024 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

It is production-ready, but that doesn't necessarily mean every possible Rails configuration and deployment setup is. For example, while there has been some development to make it more viable, SQLite is typically only used in development. You may run into issues with using it in production.

The images issue is one that I think we should maybe discuss (within @solidusio/core-team). The image caching continues to cause issues for many new users, depending on how ActiveStorage is configured.

Regardless, there are various solutions:

  • Configure ActiveStorage so the image URLs are public and not expiring
  • Remove the caching on that page
  • Restrict the caching to only the other parts of the product…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@jarednorman
Comment options

Answer selected by dtdionne
@dtdionne
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #5714 on April 08, 2024 16:10.