Improve Load Time For Script-heavy Pages

THE PROBLEM: Scripts can often impair loading of pages. Browsers choke, users get frustrated with waiting, customers go elsewhere.

THE CAUSE everybody uses the jQuery(document).ready(); event to load their scripts. Everything is trying to load all at once and bogging down the processor and working memory on the client machine.

THE FIX: don’t use jQuery(document).ready() to load everything.
Bind your scripts to user actions like mousemove, mouseenter, click, etc.

This way your scripts only load when they’re needed and the page loads quickly, without hanging browsers and annoying users.

That’s it! Easy peasy. NEVER forget!

Darryl Erentzen has written 42 articles

Darryl Erentzen is a 20+ year veteran of the web and web development. He has worked on almost every conceivable platform in just about every programming or scripting language to percolate through the internet in the past 20 years.

Most recently, Darryl has leveraged open source software to provide information architecture. systems integration and development leadership to companies big and small - developing custom solutions for business with an incidental focus on delivering MVPs for start-ups, providing cost-effective rapid application development for MVPs and proof of concepts.

Typical deliverables include AJAX-enabled web applications to enhance workflow and engagement, integration with existing business processes, and both public-facing and internal solutions.

While based in Manhattan in the early days of his career, Darryl managed and evolved Thing.NET which served the International Fine Arts community. The initiative was supported by HP and SGI and served websites for well-known art concerns including Artforum magazine, PS1, Museum of Modern Art.

Working with, Darryl designed and deployed solutions for NickelOdeon, Time-Warner Cable, Chase Manhattan Corporation, CBGB, and a variety of web properties, from small businesses to multinational corporations.

As founder and CEO of Web Plant, a web development firm based out of Toronto, Darryl managed the successful development of a number of high profile web projects for internationally known brands including Panasonic, Hewlett-Packard, Microsoft, Pontiac and others.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">