Question about post views and caching

Posted in: Newspaper
Post count: 4

I’ve been using this ajax view count (with caching plugin) for months without any problem.
But for the last two months, my traffic increasing and I got too much hits and cpu usage on admin-ajax.php. So Im about to disable ajax view count.

The question is, if I disable ajax view count with caching plugin, is the post views will keep counting in cached pages? Let say I get 100 views on a cached post page. After I flushed/rebuild cache, will the post views for that post will increment in 100?

Post count: 20688

Hi,

If you disable that options the post views may not display proper values, so you would need to clear the cache in order to refresh the data. The ajax requests are also affected by other elements on the website as well.
You can find more details about this and possible solutions in this topic
https://forum.tagdiv.com/topic/admin-ajax-php-bandwidth-hog/
Maybe you need to upgrade your server as well if your site traffic is increasing, to keep up with the load.

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.