Posts Tagged ‘load’
There are many reasons by which you can face website downtime. May be due to the host server’s condition (for example, if it’s a shared server, the other web sites running on the same server will definitely slow things down) or your website configuration or maybe due to your code. A server could be crashed by dozens of reasons, with each reason having several possibilities, with each possibility having dozens of solutions committing their existence. This could impose a huge amount of confusion for a small group of developers.
One thing we’ve noticed while managing few websites – in many cases they aren’t the fastest sites on the world-wide-web. While much of this may be due to the host server’s configuration, some of the performance issues are caused by things you can control.
There are few thing you need to keep in mind before exploring these tips that many times it’s possible that few of the mentioned tips not work for your one particular website that does not mean it’s not going to work with any another of your projects.
Use CSS Text Instead of Images
Images make your Web pages slower and consumes a lot of bandwidth of your server. Instead of using a background image, use the CSS code. For example if you want to use plain red background in your website then use CSS code background-color:#F00 instead of a red-bg.jpg. With CSS, you can set the background color or background image of any CSS element.
These is a nice tutorial on CSS-Tricks.com about how wisely you can use your background images to reduce server load.
Optimizing Your Images
More than half of the bandwidth on most websites is used by images and optimizing images is the best way to improve the bandwidth used on your web server. Optimize your images for the internet and shrink their sizes as well, never use bitmap files (.bmp) as they are HUGE (mostly in MBs). You should use jpeg (.jpg) or gif (.gif) files for images as these are optimized for the internet. A good rule of thumb is to strive for no one image being larger than 10 Kb. This is especially hard with animations, but if you can do it, you’ll notice remarkable difference in bandwidth used of your server. There are various image conversion programs/softwares available all over the internet and there are various optimization programs too, be sure to get an optimization program that will be able to retain the images quality while drastically reducing its size. (more…)