Re:Bear Does Analytics with CSS
by tatersolid on Wednesday November 01, 2023 @05:53PM
(#38105840)
Is that more efficiently done with an appropriate caching header on the page as it is served?
Cache-Control: private, max-age=86400
This prevents repeat requests for normal browsers from hitting the server.
Have you read the article? That is what the author's goal seems to be.
He wants to prevent multiple requests to the same page by the same IP counted multiple times.