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
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
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