Skip to main content

Home/ Web Performance/ Contents contributed and discussions participated by Thomas Bassetto

Contents contributed and discussions participated by Thomas Bassetto

Thomas Bassetto

Why is getElementsByTagName() faster that querySelectorAll()? - 4 views

  •  
    getElementsByTagName("a") is faster than querySelectorAll("a") in nearly all browsers. There's one very important difference between these two methods, and it's not that one accepts only a tag name and the other accepts a full CSS selector. The big difference is in the return value: the getElementsByTagName() method returns a live NodeList while querySelectorAll() returns a static NodeList. This is extremely important to understand.
Thomas Bassetto

Tracking Code and Click Response Delays - Ravelrumba - 1 views

  •  
    Clicky rajoute 500ms au temps d'ouverture d'un lien externe. NetRatings ajoute 500ms à l'ouverture de tout les liens !
1 - 2 of 2
Showing 20 items per page