A Web Development Blog Focused on Code and Technology
Currently Browsing: Home » 4 Ways to Decrease Page Loading Time
4 Ways to Decrease Page Loading Time
By Karthik Viswanathan
Users love to move from one page to another at a fast rate. They can easily obtain more information and find what they are looking for. Unfortunately, not everything on the internet loads quickly. In this tutorial, I’ll show you 4 ways to decrease page loading time.
- Reduce HTTP Requests
- Minify Large Files
Some files are inherently large. Users will have trouble downloading long, documented code when visiting a website. A simple way to reduce file size is to minify your files. For example, the documented, uncompressed jQuery.js is about 120 KB. A minified version is only 19 KB and is perfect to decrease page loading time. The Yahoo! User Interface Library has a command-line compressor than can automate this process for you.
- GZip Your Files
GZip is such an easy way to help both you and your user. It can compress most of your files so that users can download them faster. During this process, much of your bandwidth is also saved. With a method that both reduces the cost for your site and decreases page loading time, who could ask for more? Take a look at the Lateral Code GZip article for further information on this topic.
With these 4 simple methods, I hope that you can fortify a nice user experience on your website.
Make sure to check that you have correctly implemented these methods using YSlow! Good luck!
Leave a Reply