3 years ago

Store product images in storage or public folder?

Posted 3 years ago by unitedworx

Is it best to store product images in public folder so I can directly link to them? Or is it better to store them in the storage folder and creating a route to fetch these by filename or record id/slug? Any performance hits of following this route? Main reason for thinking to do it this way is to block images for products that are disabled.

Please sign in or create an account to participate in this conversation.