I have LiteSpeed Cache installed but with that installed and I use
<?php echo 'Views '.wpp_get_views( $post->ID ); ?>
on single posts to get a live view of the number of views. However, it doesn’t update due to the caching and only updates once the cache expires (every 24 hours).
I have the following in the ESI Nonce list of LiteSpeed which should then exclude these from caching
stats_nonce
subscribe_nonce
wp_rest
wpp-*
wpp_*
But that doesn’t work.
Any ideas or help would be very much appreciated.