Forum Moderators: phranque
i would like to improve the apache server performance.
its dead slow. its downloading the images again and again from the server and makes it very slow.
then i googled and found some interesting stuff like this,
-----------------------------------------------------------------------------
ExpiresActive On
ExpiresDefault "access plus 300 seconds"
<Directory "/cgi-bin/higui>
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
ExpiresByType text/html "access plus 1 day"
ExpiresByType text/css "access plus 1 day"
ExpiresByType text/javascript "access plus 1 day"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
</Directory>
------------------------------------------------------------------------------
after using this stuff in the httpd.conf file, i see that its faster,
but still the requests to the server are not made to run some of the cgi scripts.
its fetching the data from the cache instead of the server.
so, in general i need to cache the images and also the cgi scripts run on the client has to be faster.
how should i do this?
thanks
senthil
Is it a dedicated server? If so, I got tons of stuff you can do but not about to waste an hour if it's not a dedi, then you're better off optimizing (which, even if it is, the images should be optimized first).
If it's a virtual host, are you anywhere near 250 thousand hits/month on a base-html server (meaning no php/asp/etc)? If so, you're near your limit but it could also be a case where a host has put more sites on the server than they should (most do).
But before you assume it's the host, optimize ALL of your images :)
'k, I said it 4 times...