How to Make an Update on the Mysql Database with Cache

0

I have a wordpress plugin for related posts, I have a table where I update the number of clicks and the number of views of each post! The problem is, on large websites I'm dropping servers with so many updates in the database, since I do this with every visit and every click!

This image shows the plugin updating the bank every visit!

Is there a way to reduce these queries? With cache maybe, but I do not know how to do it.

    
asked by anonymous 15.11.2016 / 16:16

0 answers