Compress appropriate static content.

This commit is contained in:
Tom Hughes 2007-08-09 12:47:21 +00:00
parent 1cacff9500
commit f0c4e816b2

View file

@ -58,6 +58,22 @@ mimetype.assign = (
".txt" => "text/plain" ".txt" => "text/plain"
) )
#
# Enable compression of appropriate static content
#
compress.filetype = (
"application/x-javascript",
"application/x-shockwave-flash",
"text/css",
"text/html",
"text/plain"
)
#
# Cache compressed content
#
compress.cache-dir = "/var/cache/lighttpd"
# #
# Serve static content from the rails public area ourselves # Serve static content from the rails public area ourselves
# #