0845 205 0292

Request A Free Website Analysis

Close

Optimising Your Code For Quick Page Load Times

May 18th, 2010 by

After the wake of Google‘s update to its search engine what’s been on everyone’s minds at smx (searchmarketingexpo) is page load times.

Here I will list tips and tricks you can use to optimise your site code to ensure you optimise what you have and ensure the page loads as quick as possible.

CSS

To optimise CSS is to remove all in style code and put all your CSS in one external file. This allows for one call of one file from Google. Making it easier and quicker to call on those styles and formatting you have set out for your website.

JavaScript

Like CSS there can be multiple .js files outlining exactly what you want to do for a specific section on the site. The optimum way to reduce page load time is to put all the JavaScript code into one file. This is as not as easy as the CSS as there can be conflicts. But good coding will ensure this is possible and will bring down the file size and the load times.

Remove spaces and Comments from code

Unnecessary spacing to separate code sections for readability is common practice coders use. However this slows down the code being read and is an unnecessary practice when trying to optimise for search engines.

Comments also ensure the programmer knows what section is doing what so that when they come back to it they can easily find what they need and remember what it does. However like code spacing it is unnecessary and is not optimised.

Reflection

One thing that needs to be made clear here is that this is not programmer friendly. Comments, separate CSS and JS files make it easier for programmers to separate things and be able to figure out what’s doing what. But gone are the days where we can afford to have slow loading times and useless code. Comments should be local and not live. A good programmer will be able to work round this problem and ensure all lines of code are optimised and nothing is unnecessary.

This entry was posted on Tuesday, May 18th, 2010 at 12:00 pm . RSS GlobeYou can follow any responses to this entry through the RSS feed.

Link to us

If you want to link to this blog, copy and paste the following HTML code to your website.

Navigation

Blog Categories

Free SEO Analysis & Proposal

From The Blogread news

  • FEB 13
    I've spent a bit of time recently covering the Facebook SEC S-1 filing that has been made in preparation for their IPO, including 5 of the most significant risk factors that Facebook faces.  In this blog I'd like to focu...
  • FEB 12
    Link building is still a process integral to any search engine optimisation campaign.  While the school of thought that social media marketing is the new link building is relatively well established, there is still a pla...

Latest Newsread news

  • FEB 13
    In December Bing became the number 2 search engine in the US beating Yahoo. In January Bing continued to take more of the market share and Yahoo continued to decline. Google also continued to climb and now has a 66.2% share of the...
  • FEB 10
    A Study was recently carried out by a US not for profit Research Company called Pew Internet, the survey revealed that the majority of users who engage in social media sites on a regular occurrence have a positive experiences and ...

Clients Say...

"We've long been considering an SEO campaign and have researched the benefits that it could potentially bring to our web presence," commented 3663 Catering Equipment's Managing Director Paul Knight. "The team at Click Consult put together a very attractive package and we're pleased to be able to enter into a sound business partnership with them. We're looking forward to seeing the results they can provide for the 3663 Catering Equipment website moving forward."

3663

Managing Director - 3663 Catering

"We have been working with Click Consult for over a year now. We are delighted with the increase in unique visitors to our site and they have far exceeded our conversion KPI metrics for customer database registrations. We rank in the top 3 for all keywords that we asked Click Consult to optimize for us. This agency know how to produce results."

hills pets

Managing Director - Liverpool One

"Whilst we have a long term keyword strategy, Click Consult have a good appreciation of our business and have a flexible approach to implementing short term keyword strategies to coincide with the peaks of the retail calendar. I receive a monthly performance report from Click Consult detailing the relevant data I require but in addition, I can review the work being undertaken at any time by logging in to their bespoke reporting system."

hills pets

CRM Manager - Liverpool One

"Hills has been looking for an agency that is able to quickly deliver in the search marketing area and catapult EMEA websites ahead of the competition. Taking SEO Consult for this project turned out to be a smart choice. Not only have they managed to significantly increase search engine traffic to our websites, but they also come with innovative ideas that can be turned to reality. I can simply say they deliver. And it's always a pleasure talking to them."

hills pets

Managing Director - Hills Pets