Generate gzipped assets and files for your Jekyll site at build time. Performance in web applications is important. You know that, which is why you have created a static site using Jekyll. But you want a bit more performance. You're serving your assets and files gzipped, but you're making your webserver do it? Why not just generate those gzip files at build time? And with the maximum compression too? Jekyll::Gzip does just that. Add the gem to your Jekyll application and when you build your site it will generate gzip files for all text based files (HTML, CSS, JavaScript, etc). Zlib's gzipping capabilities don't quite squeeze all the compression out of our files that we could want. If you want a slower but better compression algorithm, check out Jekyll::Zopfli. Zopfli is about the best compression we can get out of the gzip format, but there's more! Brotli is a relatively new compression format that is now supported by many browsers and can produce even smaller files.

Features

  • Once you have the gem installed, build your Jekyll site in production mode
  • You can supply your own extensions by adding a gzip key to your site's _config.yml listing the extensions that you want to compress
  • Serve pre-compiled gzip files
  • The gem is available as open source under the terms of the MIT License
  • Zopfli is about the best compression we can get out of the gzip format
  • Add the gem to your Jekyll application and when you build your site it will generate gzip files for all text based files

Project Samples

Project Activity

See All Activity >

Categories

Web Design

License

MIT License

Follow Jekyll::Gzip

Jekyll::Gzip Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Jekyll::Gzip!

Additional Project Details

Programming Language

Ruby

Related Categories

Ruby Web Design Software

Registered

2023-09-15