ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

ExpressionEngine + AutoMin + LABjs for deferred/lazy loading JavaScript

August 23, 2012 8:07am

Subscribe [1]
  • #1 / Aug 23, 2012 8:07am

    I’ve forked AutoMin, hopefully for my modifications to be merged back into main, and added LABjs script loader support for lazy loading/deferred loading of JavaScript.

    Don’t know what deferred loading of JavaScript is?
    If you’re a web-developer, you should really learn about it. It’s recommended by Google here and here  and will speed up your site considerably and make it much more snappier.

    My simple Automin modification:
    You’ll find my modification and usage instructions here: AutoMin with LABjs Compatibility for Deferred Javascript Parsing

    Our blog is using LABjs as an example, you’ll see it in action as the page and text will load/render while JavaScript is being processed in the background where you see the syntax highlighter (the black box) kick in a split second latter which allows for an instantaneous page load while still having some Javascript features like our menu.

    If anyone has any questions, fire away!

  • #2 / Aug 24, 2012 12:02pm

    allgood2

    427 posts

    Thanks for this and the Google links. We’ve been exploring new ways to optimize our code and reduce site load times. We put a CDN in place, but still want other standards for every site we design.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases