Which webserver and how to optimize?
Hi,
I'm wondering what webserver Subsonic uses?
The main reason I'm asking, because on a normal (eg Apache) server I'd whack in a .htaccess file to compress the contents to reduce bandwidth (OK, not needed by Subsonic given the streaming media aspect) but it also speeds up sites tremendously
As I'm just beginning to learn about Subsonic, I'd be interested to know some of the basics like this, can I implement web compression, if so how etc...?
Many thanks
Iain
I'm wondering what webserver Subsonic uses?
The main reason I'm asking, because on a normal (eg Apache) server I'd whack in a .htaccess file to compress the contents to reduce bandwidth (OK, not needed by Subsonic given the streaming media aspect) but it also speeds up sites tremendously
- Code: Select all
<ifModule mod_php4.c>
php_value zlib.output_compression 16386
</ifModule>
<ifModule mod_php5.c>
php_value zlib.output_compression 16386
</ifModule>
<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>
AddOutputFilterByType DEFLATE text/html text/css application/x-javascript
As I'm just beginning to learn about Subsonic, I'd be interested to know some of the basics like this, can I implement web compression, if so how etc...?
Many thanks
Iain