compress.conf 589 B

1234567891011121314151617181920212223242526
  1. server.modules += (
  2. "mod_compress"
  3. )
  4. compress.cache-dir = "/www/tmp/compress"
  5. compress.max-filesize = "1024"
  6. compress.filetype = (
  7. "application/atom+xml",
  8. "application/javascript",
  9. "application/json",
  10. "application/rss+xml",
  11. "application/vnd.ms-fontobject",
  12. "application/x-font-ttf",
  13. "application/x-web-app-manifest+json",
  14. "application/xhtml+xml",
  15. "application/xml",
  16. "application/font-sfnt",
  17. "font/opentype",
  18. "image/svg+xml",
  19. "image/x-icon",
  20. "text/css",
  21. "text/html",
  22. "text/plain",
  23. "text/x-component",
  24. "text/xml",
  25. )