How can i increase the performance of Apache web server
Hi All,
Can anyone help me how can i speed of my apache web server hosted in VPS . I had already include mod deflate to compress the content .Our customer was keep on complaining about the slow performance of our server .Can anyone help me how can i increase the performance of my apache server .Whether its my configuring mistake make my site loads very slow . NameVirtualHost *:80 <VirtualHost *:80> ServerName example.com Alias /cms/modules/ /tomcat/webapps/cms/modules Alias /cms/themes/ /tomcat/webapps/cms/themes Alias /cms/images/ /tomcat/webapps/cms/images Alias /cms/css/ /tomcat/webapps/cms/css Alias /images /tomcat/static/images Alias /js /tomcat/static/js Alias /css /tomcat/static/css Alias /cms/admin /tomcat/webapps/cms/admin Alias /cms/generated /tomcat/webapps/cms/generated Alias /php /tomcat/static/php <Directory /tomcat/static/php> DirectoryIndex index.php AllowOverride FileInfo Options -Indexes +FollowSymLinks -MultiViews Order allow,deny Allow from all </Directory> <Directory /deployement/tomcat/static> Allow from all </Directory> JkMount /* worker1 JkMount / worker1 #JkMount /dumile worker1 JkMount /cms/* worker1 JkMount /cms/ worker1 JkMount /cms worker1 JkUnMount /images worker1 JkUnMount /*.jpg worker1 JkUnMount /*.gif worker1 JkUnMount /*.png worker1 JkUnMount /*.css worker1 JkUnMount /*.js worker1 JkUnMount /*.swf worker1 JkUnMount /*.ico worker1 #caching Header unset ETag FileETag None <FilesMatch "(?i)^.*\.(ico|flv|jpg|jpeg|png|gif|js|css|swf)$"> Header unset Last-Modified Header set Cache-Control "max-age=7200, must-revalidate" Header set Cache-Control "public, no-transform" Header set Expires "Thu, 15 Apr 2010 20:00:00 GMT" </FilesMatch> #compress content with type html, text, and css SetOutputFilter DEFLATE AddOutputFilterByType DEFLATE text/* </VirtualHost> |
As you don't include the specs of your VPS and the number of web pages you are displaying per hour it's difficult to say where the problem is.
|
Switch to a lighter web server such as nginx or lightttpd.
|
All times are GMT -5. The time now is 07:10 PM. |