- Le plus récent
- Le plus de votes
- La plupart des commentaires
Currently Lightsail does not support compression. I'll take this request to the product team for review. Thanks for the feedback.
Lightsail distributions forward requests that have the Accept-Encoding field values "identity" and "gzip".
You can use CloudFront to automatically compress certain types of objects (files) and serve the compressed objects when viewers (web browsers or other clients) support them. Viewers indicate their support for compressed objects with the Accept-Encoding HTTP header. CloudFront can compress objects using the Gzip and Brotli compression formats. When the viewer supports both formats, CloudFront prefers Brotli. -- [1]
Configure Compression -- https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html -- [1]
As I understand Lightsail Distribution is not the same thing as Cloudfront. I will dig more about this as seems Cloudfront is more flexible and even always free (within the limits), while Lightsail Distribution is charged after the first 12 months. There is any reason why I should use Lightsail Distribution instead of Cloudfront?
Contenus pertinents
- demandé il y a un an
- demandé il y a un mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 2 ans