Litespeed Cache Issue | WordPress.org

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.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer