gatsby-plugin-brotli | Gatsby plugin for preparing brotli | Plugin library
kandi X-RAY | gatsby-plugin-brotli Summary
kandi X-RAY | gatsby-plugin-brotli Summary
Gatsby plugin for preparing brotli-compressed versions of assets
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Registers the build
gatsby-plugin-brotli Key Features
gatsby-plugin-brotli Examples and Code Snippets
Community Discussions
Trending Discussions on gatsby-plugin-brotli
QUESTION
I am using the brotli plugin for compressing my bundles in gatsby: https://github.com/ovhemert/gatsby-plugin-brotli
the plugin is configured as follows:
...ANSWER
Answered 2020-Dec-23 at 10:19So after spending quite some time on this issue, I finally found the answer in AWS docs. I'm using CloudFront to serve the site, but since this site is a demo site for testing purposes, I didn't purchase an HTTPS Cert for it. According to AWS Docs, CF doesn't serve compressed content over HTTP, ONLY on HTTPS: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html
Purchasing and installing a certificate SOLVED this problem for me.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gatsby-plugin-brotli
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page