hexo-gzip

Gzip console plugin for Hexo

Usage no npm install needed!

<script type="module">
  import hexoGzip from 'https://cdn.skypack.dev/hexo-gzip';
</script>

README

Gzip console plugin for Hexo

This plugin gzip files produced by Hexo, in order to serve pre-gzipped files with Nginx or Apache2, instead of gzipping them of the fly!

For example in nginx.conf file just add:

gzip_static on;

Usage

In the console just type :

hexo gzip

It automaticaly call generate, then, hexo-gzip.

Feel free to fork, and report bugs!

Author

Vincent RABAH (Twitter: @itwars - Websites: ITwars|NodeJS-News)

License

LGPL. See COPYING for more details.