Defer/PostLoad/LazyLoad/Async

Many of the components from 3rd party affect the page load performance.

A nice slideshare article on 3rd Party SPOF(Single Point of failure) and how to mitigate the same by using the following options

  1. Defer
  2. LazyLoad
  3. Async

Ref : http://www.slideshare.net/guypod/third-partyperformancev3

Advertisements

Browser – dns-prefetch , prefetch, prerender

The latest browsers support the following new attributes in <link> tag.

  1. dns-prefetch
  2. prefetch
  3. prerender

If we can predict (know to which next page the user is moving to) destination URL, we can prefetch/prerender the page in browser memory. This gives an improvement to perceived webppage  performance

A nice article from Stevesourders on the same : http://www.stevesouders.com/blog/2013/11/07/prebrowsing/