This is a really good read! 

https://speakerdeck.com/smashingmag/dirty-tricks-from-the-dark-corners-of-front-end