aws-amplify-react S3Image component ignores cache control
See original GitHub issueDescribe the bug the S3Image component ignores cache control headers
To Reproduce
- add
<S3Image imgKey={keyToProtectedAndCacheControledResource}/>
- open the network tab in your browser of choice
- see the image load from s3
- see that the image has cache control headers
- reload
- see the image load from s3 using a different uri(query string changed)
Expected behavior loading of the image from the same uri every time
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:7 (2 by maintainers)
Top Results From Across the Web
aws-amplify-react S3Image component ignores cache control
Describe the bug the S3Image component ignores cache control headers To Reproduce add open the network tab in your browser of choice see...
Read more >Cache-control metadata of aws S3 not caching images in ...
I am able to fetch images from S3 bucket using Storage.get(..) of aws-amplify and display it in my homepage of React app using...
Read more >aws-amplify-react - UNPKG
'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf....
Read more >How do I prevent CloudFront from caching certain files?
If you're using Amazon Simple Storage Service (Amazon S3) as the origin, you can add certain Cache-Control headers using object metadata.
Read more >No Cache-Control Header for files from AWS CloudFront with ...
I've hit a few pages in Google where you can set the Header in S3 for individual objects. That's really not a productive...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi! Are there any updates on this request? Would be great to have this feature!
Closing this as the
S3Image
component has been deprecated.