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

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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