Hacker News new | ask | show | jobs
by PeterisP 4775 days ago
Why should you distinguish them?

The user won't know if the browser prefetched and prerendered the page before the click, so you should serve identical content in both cases.

The only issue is counters/analytics, but again, the server side must serve identical pages in both cases, only the browser side javascript could/should check if the page is actually viewed.