Answer the question
In order to leave comments, you need to log in
Page view counter and caching. How to solve the problem?
Page view counter and caching. How to solve the problem? Namely, the counter is written in PHP, and when the page is issued from the cache, without a call to PHP, the counter does not increase. Who faced the same problem? What are the solutions?
Answer the question
In order to leave comments, you need to log in
Is there a contradiction between saving traffic and the counter? if you don't need to save traffic, then generate a new URL each time - and there will be no caching, for example:
/index.php?random=123456
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question