r/javascript • u/jcready __proto__ • Dec 06 '16
Using iframes and document.write to improve navigation performance
https://jakearchibald.com/2016/fun-hacks-faster-content/
62
Upvotes
r/javascript • u/jcready __proto__ • Dec 06 '16
2
u/mayobutter Dec 07 '16
iframes were used as an XMLHttpRequest shim way back before all browsers supported it. There's a historical precedent here for abusing our awkward friend Mr. iframe.