S3 & # 8594; CloudFront & # 8594; Client with (Gzip + Etag)
Is there a way to distribute JS Lib from AWS CloudFront with ETag header (to control caching) and compression (only for clients that support it) using S3 as source?
As I understand it, I can: 1) Load the JS Lib (uncompressed) on S3, enable auto-compression on CloudFront - but I lose the ETag header, in this case it means I lose the ability to quickly update the JS Lib on the client side.
2) Download JS Lib (already compressed) to S3: - but I am losing clients that don't support compression
3) Use your own origin instead of S3 and manage the compression yourself: - I lose S3 hight durability and I have Origin setting and controlling myself
Is there a 4th way that doesn't have the disadvantages described above?
source to share
No one has answered this question yet
Check out similar questions: