Hacker News new | past | comments | ask | show | jobs | submit login

But 3rd party JavaScript libraries (like GA or ours) cannot read such headers and will invariably get executed. How would Google Analytics recognize and discard such irrelevant requests?



I dunno, use the Page Visibility API[1]?

[1]: http://www.w3.org/TR/2011/WD-page-visibility-20110602/


Will the javascript even be executed during this "pre-rendering" process? It's the people with server side analytics that are going to be affected most by it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: