Thread Starter
dihost
(@dihost)
Hi Héctor,
Thanks for taking the time to reply.
It’s perfectly fine to use POST when its purpose is to update the pageview in the database – no question. I just didn’t recognize this request as such – I thought it is used to get the pageview count from the database.
However, we often see that similar plugins might cause additional traffic and resource usage on the SQL server – on high traffic websites, of course. Hence its important to minimize the amount of requests made to the server, make them cache-able (where possible) or implement some other optimizations.
I didn’t know about WPP has a pageview caching mechanism included – which I will review later when I have time, including the mentioned performance article.
You helped a lot for now. In case I find something else that might be related, I will update the post.
Thanks
Daniel