This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Redis Post Views


Imagine a high traffic website that needs post views as an algorithm to display posts on the homepage.
This website also uses Varnish Caching. So we need an AJAX based post views counter.
Now imagine a minimum 5000 concurrent users browsing the website, so we can’t use the default “AJAX in Plugins” as live updates on the backend using update_post_meta will be very painful for the backend.

So what can we do ?

What if all these post views counts will be done in memory using Redis ?
Then we run a cornjob using WP-CLI to sync the post views count in Redis to the WordPress database.

Redis Post Views was born.


  • Statistics admin panel
  • Posts queue admin panel
  • Configuration info admin panel


  • You must install Redis on your server(s)


Installation Instructions
  • You must install Redis on your server(s)
How can I display the post views in a template?

You can do this with get_post_meta(get_the_ID(), RPV_POST_META_KEY, true); php function


Hakuna hakiki za programu-jalizi hii.

Wachangiaji & Wasanidi

“Redis Post Views” is open source software. The following people have contributed to this plugin.


Translate “Redis Post Views” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • optimizations


  • moved wp-config-rpv.php wo wp-config for improved compatibility


  • WP-Admin sync all option
  • optimizations


  • show total views on Posts Queue tab
  • optimizations


  • improved stats using Chart.js


  • posibility to sync the post views in Posts Queue tab


  • added wp-admin backend including stats
  • added posibility to override settings in wp-config.php


  • in production extensive testing done