DEV Community

Discussion on: Making dev.to Incredibly fast

Collapse
 
kristobaljunta profile image
Kristobal Junta • Edited

Very good article, helped me understand some concepts.
But then I inspected code of the page, and a question appeared. Why this?
!(pasteboard.co/GPo6g5T.png)

Collapse
 
kristobaljunta profile image
Kristobal Junta

Sorry I couldn't quite get it how to inline an image...

Collapse
 
ben profile image
Ben Halpern

That's a relic of the fact that we're basically using the default Google Analytics copy/paste which thinks the script should be appended to the head, but on every page nav, it re-appends it. Since the script is cached in the browser and re-appending it doesn't really affect the user experience, we haven't gotten around to doing anything about this.