i have build a shop with solidus.. all working fin...
# support
o
i have build a shop with solidus.. all working fine except images in production with active storage in aws show 403 forbidden after some time .. i found some stackoverflow posts which recomend to set
1
b
Are you caching the html?
o
rails 7 standard aws active storage
b
OK, but are you caching the html?
o
i just found out i cant work with aws in private mode -> so i made the s3 bucket public and added "`public: true"` to my storage.yml and its working.. just wondering what wil happen when i need active storage images with expire value but will think about that later 😄
b
Solidus has caching on the product index and show pages. If you remove this wrapper
<% cache [I18n.locale, current_pricing_options, @product] do %>
then AWS should use the proper URL to access the private image. Not sure if this is a good solution, but personally I like it better then globally setting year long URLs or using public storage.