Page 1 of 1

Which webserver and how to optimize?

PostPosted: Mon Oct 17, 2011 7:38 pm
by monkey
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

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

Re: Which webserver and how to optimize?

PostPosted: Wed Oct 26, 2011 12:28 pm
by Schokobecher
Standalone Version is running jetty, but you can run it using Tomcat on top of Apache. Check the Tutorials section :mrgreen: