Last Updated on Wednesday, 9 January 2013 12:00 Written by Richi González Wednesday, 9 January 2013 12:00
When I’m creating a website, I try to make it load as fast as possible. I have read lots of techniques on how to achieve this, and the one that is effortless and free to make it, is having JS code run after the DOM is ready.
1. Open the file where your JS code resides. For this article, I will have the following code between my <head> tags:Learn More
Last Updated on Thursday, 29 November 2012 08:29 Written by David Bauernschmidt Saturday, 1 December 2012 12:00
The #1 way to speed up your website is to minimize HTTP requests, however; inevitably you will make request for images, audio, video, code, and other content. Whenever; you can off load some of the content to other domains or to other servers your site will always load faster. However; there will be times when those ‘other servers’ will be down. Whether it is just for a moment or for a longer period of time, you do not want your site to be at the mercy of those servers. What can you do? (Glad you asked). You can have the best of both worlds. Why not check to see if the ‘other’ server is available. If it is then use their servers to deliver your content. If not then just load your own content from your site. It is not that hard to do and takes about 3 more lines of code. You can use this for anything in particular. Just find the piece of code to check for.
I am giving you this example of the jQuery library and any library will do just replace the code with the syntax for their library.Learn More
Last Updated on Wednesday, 23 May 2012 02:26 Written by Ken Griffith Wednesday, 23 May 2012 12:04
Now that Google has modified the Page Rank Algorithm to include the speed at which a site loads, there is an *additional* financial incentive to optimize websites for speed. (Of course the original incentive to do this was to improve user experience, but Google has now given us a measurable metric for OCD web developers to obsess over.)
Many articles and techniques have been published about this, and I won’t try to re-invent the wheel here. This article concerns how to embed scripts in your HTML page using CMS Made Simple.
The technique I am about to explain will reduce page load time regardless of whether you put your scripts in the HEAD or after the FOOTER. But it is especially useful for scripts that have to go in the HEAD and execute immediately such as modernizr.js, head.js, and web font loading scripts such as fonts.com or Typekit.Learn More
Last Updated on Tuesday, 15 March 2011 04:05 Written by Richi González Sunday, 13 March 2011 06:19
Difficulty level: EasyLearn More
- steam wallet hack on How to Shorten the Homepage Content in WordPress
- Khaleel Demeri on Prevent Malicious Bots/Spiders From Accessing Your Site Using .htaccess
- Jordan on Prevent Malicious Bots/Spiders From Accessing Your Site Using .htaccess
- JP DeVries on Disappearing Articles in MODX
- Andrien on Web Deploy – Common Errors