Hard but straight; If your page is not loading within 4 seconds, you will loose at least 60% of the traffic because of that. If we put our belongings in a proper way and in a structured manner, we can access them very easily in no time. Same thing happened in case of page loading. Page loading time is the time taken by your website or blog to be opened on the Internet. Some of the very interesting techniques for improving the page loading time are as below:
Website:
1) Use CSS for faster loading of the pages, that will anyway reduce the size of the page.
2) Always Gzip the webpage CSS. GZip is the data compression program written by Jean-loup Gailly. Download the GZip from here.
GZip homepage: www.gzip.org
3) Avoid image files if the task can be done with the text.
4) Avoid scripts or any other application which link to other websites
5) Arrange the data in a proper format
6) Do not use Nested Tables
Blogs: (WordPress or blogger)
1) If you are blogging at WordPress, then always go for the plug-in WP-cache. This will increase the wordpress blog load time by 25%. Download the Wp-cache.
2) Enable GZip with WP-cache. By default the GZip doesn’t work with WP-cache but you can change the PHP and start using both at the same time. Here are the small changes that you need to make:
a) Turn off the GZip from the options menu of WP-Cache
b) Change the wp-content/plugin/wp-cache/wp-cache-phase1.php
Add the code in blue before the red one:
if ( extension_loaded(’zlib’) ) ob_start(’ob_gzhandler’);
foreach ($meta->headers as $header) {
header($header);
c) Edit the wp-content/plugin/wp-cache/ advanced-cache.php
Add the code in blue before the red one:
if ( extension_loaded(’zlib’) ) ob_start(’ob_gzhandler’);
foreach ($meta->headers as $header) {
d) Now you will see the change in the page loading time.
3) Never go for free hosting sites, their servers are really slow and your webpage will take time to load.
4) Use static HTML instead of repeated PHP. You can see the corresponding static HTML code in the view source option of the browser where the PHP code <php got replaced with <link rel. Use that piece of code instead of PHPs. You can do this by going to the Design/Theme Editor option in WordPress.
5) Follow all the information mentioned in the Website section of this article.
Once you will apply the changes mentioned in the article, you will see drastic improvement in the page load time of your webpage.
Please let us know your inputs or feedback.
Enjoy the traffic.