compress.conf 804 B

12345678910111213141516171819202122232425262728293031
  1. #######################################################################
  2. ##
  3. ## Output Compression
  4. ## --------------------
  5. ##
  6. ## see http://www.lighttpd.net/documentation/compress.html
  7. ##
  8. server.modules += ( "mod_compress" )
  9. ##
  10. ## where should the compressed files be cached?
  11. ## see the base config for the declaration of the variable.
  12. ##
  13. ## This directory should be changed per vhost otherwise you can
  14. ## run into trouble with overlapping filenames
  15. ##
  16. compress.cache-dir = cache_dir + "/compress"
  17. ##
  18. ## FileTypes to compress.
  19. ##
  20. compress.filetype = ("text/plain", "text/html")
  21. ##
  22. ## Maximum filesize that will be compressed.
  23. ## Default is 0, which means unlimited file size.
  24. ##
  25. #compress.max-filesize = 0
  26. ##
  27. #######################################################################