entry-views icon indicating copy to clipboard operation
entry-views copied to clipboard

Update entry views count HTML with JavaScript

Open remcotolsma opened this issue 9 years ago • 2 comments

It would be nice if the entry views HTML count is also updated with JavaScript. Now the entry views count value is not always up-to-date on sites with page caching activated. We already wrote a small plugin which hooks in to this plugin. However it would be cool if this was integrated in this plugin.

https://github.com/pronamic/wp-entry-views-updater/blob/develop/entry-views-updater.php

remcotolsma avatar Jun 15 '15 14:06 remcotolsma

I wouldn't mind moving to an all-JS solution.

justintadlock avatar Jun 15 '15 20:06 justintadlock

Yep. With caching, AJAX is the only way.

lkraav avatar Jun 15 '15 21:06 lkraav