Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
youfly
tagDiv Member

Nevermind. I just figured it out myself :). For anyone else that might get stuck in this situation: it is indeed the “Ajax view count feature” which sends via POST the new views counter (increased by one) for the article in order to store it . So it can’t be cached if you want this feature to work properly. Disabling it is the only way to go…

youfly
tagDiv Member

Another suggestion from the Kinsta support team, is to force cache on this call. Will that have any negative effects on the theme’s performance?
Thank you…

youfly
tagDiv Member

Fair enough but the request is made on each and every article load. Try it yourself: https://youfly.com/tileorasi/open-panagiotis-stathis-kai-evlabia-revi-mazi-ti-nea-sezon/ and watch the calls made without touching any button. /wp-admin/admin-ajax.php?td_theme_name=Newspaper&v=11 is being called every time. And what is it’s use by the way? To indicate the theme and it’s version? On every article load? Make a record of it somewhere (database, txt, xml) and fetch it from there.
Could this be happening cause of the “Ajax view count feature” that we have enabled?
Thanks.

youfly
tagDiv Member

Could this be happening cause of the “Ajax view count feature” that we have enabled?

youfly
tagDiv Member

Hi there. We are facing the same exact issue with high /wp-admin/admin-ajax.php?td_theme_name=Newspaper&v=11 requests. From our cache log, out of 80.000 requests, 43.000 are made to this exact address as POST. Hence the problem: they cannot be cached, resulting in high CPU usage. The site is youfly.com and we are a relatively medium to large news website with a lot of daily traffic.
99% of our traffic is “landing” on specific articles pages, so all the features you’ve mentioned above to OnlineTushar, except the search bar, don’t apply to our case. And even search is rarely used. We get /wp-admin/admin-ajax.php?td_theme_name=Newspaper&v=11 requests on each and every article load.
There has to be something we could do to bring this number down.
Please advise.

youfly
tagDiv Member

Hi,
I’m getting back to this request cause it’s exactly what we need too. User mparlevliet is referring to the single post autoload feature. https://prnt.sc/1s9lsup
From your options panel the four options are: “previous posts,” “next posts,” “same category previous,” and “same category next.”. What we are requesting is another option to show the latest articles from the same category (excluding the article that is already shown, of course). So if for example you are at an article that’s the 15th most recent in it’s category, then underneath it we would like to have the ability to show the 1st, then the 2nd and so on.

youfly
tagDiv Member

Website: youfly.com

youfly
tagDiv Member

Hello.
Thanks for getting back so soon.
Our website’s main page is this:
https://prnt.sc/1rjq4uv
The main flex grid filters it’s articles based on a post category and displays them sorted by date. We would like to have the option to choose the first article (the one enclosed in a red square) preferably by it’s post ID.
Thanks.

Viewing 8 posts - 1 through 8 (of 8 total)