html5 document ready
DOMContentLoaded,
document ready or not?
jQuery: overhead.
document.addEventListener("DOMContentLoaded", function(event) {
console.log('document load time: ' + event.timeStamp);
});
DOMContentLoaded,
document ready or not?
jQuery: overhead.
document.addEventListener("DOMContentLoaded", function(event) {
console.log('document load time: ' + event.timeStamp);
});