5 More Ways for You to Speed Up Your Website
In another post that I've written, I talked about some ways to make your website load faster. Here are some more ways to speed up your website.
1. Use an external CDN
A CDN is a content delivery network, and it allows you to use scripts that are hosted remotely from your site. This allows you to use common scripts, such as JQuery, that may already be cached by a user's browser.
A commonly used CDN is the Google AJAX Libraries API.
2. Use CSS sprites
Instead of having all separate image files for you graphics, you can combine many graphics into one image and use CSS sprites. This will reduce the file size, and use fewer HTTP requests because once one image has been loaded, it can be cached for use with all of the other sprites.
You can use the single image as a background image, and use the
background-position CSS property to only show the part of the image that you want to show. For more about this, you can see this article on A List Apart.
For example, I ditched the Sociable WordPress plugin because it didn't replace ampersands with
&, creating validation errors. Instead of finding another plugin, I decided to do it by myself. To reduce the number of HTTP requests, I combined all of the icons into one image.
3. Use the WordPress WP Super Cache plugin
If you're using WordPress, a great way to speed up your website is the WP Super Cache plugin.
Normally, WordPress uses PHP scripts to pull the information from the database every time a page is viewed. The WP Super Cache plugin creates static HTML files that already contain the information, ready to be sent to the user.
After installing this plugin of FWebDe.com, there was a noticeable difference in page loading time. I would definitely recommend this plugin if you are using WordPress.
4. Add a slash to your links
Yes, something as simple as adding a slash to the end of your links when you are linking to a directory can help to speed up the page load time a little bit.When there is a slash at the end of the link, the browser knows that it is a directory, and can get to the index page right away, without having to figure out the file type.
5. Use GZip compression
GZip compression can really help to speed up your website. When your website is requested, it is compressed into a smaller file, and that smaller file is sent to the user's browser. The browser then decompresses the file and displays the page.
A guide on GZip compression shows how you can do this with a bit of PHP.
Do you have any more tips to speed up your website?