hyde-zipper

gzip precompression as post processor
Download

hyde-zipper Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Publisher Name:
  • Donald von Stufft

hyde-zipper Tags


hyde-zipper Description

gzip precompression as post processor hyde-zipper is a Python library that precompresses all plaintext files so that properly configured web servers can serve gzip compressed content without compressing it on every request.Installationpip install hyde-zipperInstall Post Processor:SITE_POST_PROCESSORS = { '/': { 'zipper.site_post_processors.GzipCompress' : { 'filetypes': , 'level': 9, }, }}SettingsZipper has 2 settings, filetypes, and level.filetypesA list with file extensions to apply precompression too. defaults tolevelAn integer 1 through 9 that controls the level of compression. 1 is the fastest, but least amount of compression, and 9 is the slowest, but most amount of compression. defaults to9 Requirements: · Python


hyde-zipper Related Software