Skip to main content

Diigo Home

John Resig - JavaScript Library Loading Speed - The Diigo Meta page

ejohn.org/...library-loading-speed - Cached - Annotated View

Benx Shen's personal annotations on this page

benxshen
Benxshen bookmarked on 2008-04-21 javascript jquery performance
  • By order of file size, packed is the smallest, then minifed, then normal. However, the packed version has an overhead: It must be uncompressed, on the client-side, using a JavaScript decompression algorithm. This unpacking has a tangible cost in load time. This means, in the end, that using a minifed version of the code is much faster than the packed one - even though its file size is quite larger.

This link has been bookmarked by 9 people . It was first bookmarked on 06 Feb 2008, by someone privately.

  • 02 Oct 09
  • 21 Aug 08
  • 21 Apr 08
    • minified (using Yahoo Min)
    • the packed version has an overhead: It must be uncompressed, on the client-side, using a JavaScript decompression algorithm.
    • 2 more annotations...
    • By order of file size, packed is the smallest, then minifed, then normal. However, the packed version has an overhead: It must be uncompressed, on the client-side, using a JavaScript decompression algorithm. This unpacking has a tangible cost in load time. This means, in the end, that using a minifed version of the code is much faster than the packed one - even though its file size is quite larger.
  • 08 Feb 08
    arrix_
    Arrix Z

    minify + gzip = best

    compression javascript

    • using a minifed version of the code is much faster than the packed one - even though its file size is quite larger
    • Next time you pick a compression technique, remember this formula:


      Total_Speed = Time_to_Download + Time_to_Evaluate
  • 07 Feb 08