The client side is often over looked when monitoring and increasing the speed of a site. Think of how many HTTP requests your pages are calling. Can these be reduced in some way? A In this post I briefly cover a few a few quick wins.
Use image sprites for common icons
This is a big image file which contains multiple images. The images are displayed on the page using background positioning. The down fall here is that the images cannot have alternative text as they are handled in the CSS so it’s best to use these for common icons and layout images. The advantage of using image sprites is that it reduces the number of HTTP requests to just one.
You many leave tabbed spaces, comments and big gaps in your files when developing but all these wasted bytes aren’t going to help the speed in a production environment. When your happy with your files try minifing them and see how small you can make them
I see so many sites using both jQuery and Protoype where only one library is sufficient. These libraries can be fairly large so keep to one.
Consider using a secondary webserver
You could use lighthttpd or another apache web-server for your client sided files. This will remove the pressure from your PHP server