mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2025-07-02 09:42:35 +00:00
Enable Brotli compression
- Compress file AOD. - Let the server only use static files. - Don't add github-pages to jekyll-plugins group, due to the fact github-pages will behave differently when enabling production ENV. - Adds an extra 10s for the `host` to use `./buid.sh` due to compressing all files. - Resolves #2186
This commit is contained in:
8
Gemfile
8
Gemfile
@ -1,12 +1,10 @@
|
||||
source "https://rubygems.org"
|
||||
|
||||
# Install github-pages gem (https://jekyllrb.com/docs/github-pages/)
|
||||
gem "github-pages", group: :jekyll_plugins
|
||||
gem "github-pages"
|
||||
|
||||
# Plugins
|
||||
group :jekyll_plugins do
|
||||
# example: gem "jekyll-feed", "~> 0.6"
|
||||
end
|
||||
# Install jekyll-brotli gem (https://github.com/philnash/jekyll-brotli/)
|
||||
gem 'jekyll-brotli'
|
||||
|
||||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
||||
|
Reference in New Issue
Block a user