Answer the question
In order to leave comments, you need to log in
Article counter on the Drupal site is crashing the site?
Of course, do not be offended, but I have a question about Drupal
on the eighth.
Customers are "a little offended" at TTFB
, there is such a nodeviewcount module, and so, it heavily loads the server on the digital ocean. Well, it’s kind of strong in general, so with 250 people on the site, it just lays down, and each page opens for two minutes. Well, even without that, now when there are two and a half people - 5s TTFB; (
With caching and all that - everything is in order there. Experienced found out that the problem is in nodeviewcount.
I just unchecked "Blogs" in the settings, and it simply reset the counter for blog articles.
Answer the question
In order to leave comments, you need to log in
Without a separate entry, you will not be able to count the number of views for a certain slice of time. If this function is not needed, then use the built-in statistics module, which works as you wrote. Or change the module to something like https://www.drupal.org/project/google_analytics_counter
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question