This topic contains 1 reply, has 2 voices, and was last updated by Michael 6 years ago.
- Topic
Hi,
I am using AWS S3 to store orocommerce attachements. I want to use addCache-Control
header to the images. Adding the header in nginx breaks the application.12345location ~* \.(?:jpg|png|jpeg|ico|tiff|woff|eot|ttif|svg|svgz|mp4|ogg|ogv|webm|swf|flvi)$ {expires 3M;access_log off;add_header Cache-Control "public, must-revalidate, proxy-revalidate";}No image will be served from S3.
curl -I https://ewhale.co/media/cache/attachment/resize/8715/product_gallery_main/5a8ca568c340e531026101.jpeg
cache-control: no-cache
Is there somewhere in the code I can change thecache-control
value?
The forum ‘OroCommerce’ is closed to new topics and replies.