docs: Netlify supports brotli

This commit is contained in:
MDLeom 2020-09-05 14:15:58 +00:00
parent 353ca8ea37
commit 9ac8969a08
No known key found for this signature in database
GPG Key ID: 06C236E63CBC68AA
1 changed files with 3 additions and 3 deletions

View File

@ -275,13 +275,13 @@ globOptions:
While most modern web browsers [support Brotli](https://www.caniuse.com/#feat=brotli), you also need to consider whether the web/app server, hosting platform, reverse proxy or CDN (whichever relevant to you) support it. While most modern web browsers [support Brotli](https://www.caniuse.com/#feat=brotli), you also need to consider whether the web/app server, hosting platform, reverse proxy or CDN (whichever relevant to you) support it.
As of May 2019, GitHub Pages, GitLab Pages and Netlify *do not* support brotli yet. You can generate `.br` files, but they won't serve those files. As of Sep 2020, GitHub Pages and GitLab Pages *do not* support brotli yet. You can generate `.br` files, but they won't serve those files.
Name | Status (May 8, 2019) Name | Brotli support
--- | --- --- | ---
GitHub Pages | [In consideration](https://github.community/t5/GitHub-Pages/Support-for-pre-compressed-assets-and-brotli-compression/m-p/22055) GitHub Pages | [In consideration](https://github.community/t5/GitHub-Pages/Support-for-pre-compressed-assets-and-brotli-compression/m-p/22055)
GitLab Pages | [In progress](https://gitlab.com/gitlab-org/gitlab-pages/merge_requests/120) GitLab Pages | [In progress](https://gitlab.com/gitlab-org/gitlab-pages/merge_requests/120)
Netlify | [In consideration](https://postimg.cc/qgxn0261) Netlify | Yes
Hexo Server | [In progress](https://github.com/hexojs/hexo-server/pull/100) Hexo Server | [In progress](https://github.com/hexojs/hexo-server/pull/100)
If you have access to the web server config, you should disable on-the-fly compression for static files (that are already compressed by this plugin), If you have access to the web server config, you should disable on-the-fly compression for static files (that are already compressed by this plugin),