mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-20 10:48:40 +01:00
lighttpd could support rules like this, to add efficiency: # Aggressively cache all static files $HTTP["url"] =~ "\.(jpg|gif|png|css|js|htc)" { expire.url = ( "" => "access 1 years" ) } # Compress files for faster transfer compress.filetype = ( "text/plain", "text/html", "text/javascript", "text/css", "text/xml" ) compress.cache-dir = <would need to set to something>? I don't know if that is necessary or useful. Probably not a good idea at this point, where the code is changing so rapidly: a 1 year cache of javascript code could cause trouble. And i think the default lighttpd.conf already compresses text/html, text/plain, text/css, and application/x-javascript by default, so we're ok there (could add text/javascript and text/xml, I guess). |
||
---|---|---|
.. | ||
configuration_guide.diviner | ||
configuring_accounts_and_registration.diviner | ||
configuring_file_storage.diviner | ||
configuring_inbound_email.diviner | ||
configuring_outbound_email.diviner | ||
managing_daemons.diviner |