Compress appropriate static content.
This commit is contained in:
parent
1cacff9500
commit
f0c4e816b2
1 changed files with 16 additions and 0 deletions
|
@ -58,6 +58,22 @@ mimetype.assign = (
|
|||
".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
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue