Could you count hits on the server when serving the page?
I guess caching might break that depending on cache settings. And for SPAs, it might not work as desired.
I guess caching might break that depending on cache settings. And for SPAs, it might not work as desired.
The biggest is bots - on my site (and I assume most others), legitimate requests are far, far outweighed by bots. Sometimes you can tell that they are bots but it is very common for bots to pretend to be real users. Oftentimes you can't tell from a single request but only but looking at the pattern of requests.
Some bots do take the trouble of running scripts on the page but thankfully they are in the minority so far.
Caching would certainly break the system as well, in the other direction.