Plugin info

Total downloads: 1,547
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 7/27/2018 (2713 days ago)
Added to WordPress: 7/27/2018 (7 years old)
Minimum WordPress version: 4.5
Tested up to WordPress version: 4.9.28
Minimum PHP version: 5.2.4

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 2713 days ago

20/100

Is Redis Post Views abandoned?

Possibly abandoned (last update 2713 days ago).

Compatibility

Requires WordPress: 4.5
Tested up to: 4.9.28
Requires PHP: 5.2.4

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Redis Object Cache
Rating 4.5/5 (170 reviews)Active installs 300,000
WP Redis
Rating 4.7/5 (20 reviews)Active installs 10,000
Cache Warmer
Rating 5.0/5 (18 reviews)Active installs 1,000
atec Cache Info
Rating 5.0/5 (9 reviews)Active installs 1,000
Cache Master
Rating 4.8/5 (16 reviews)Active installs 600
Blizhost CloudCache Purge – Speed, Security, and Optimization
Rating 0.0/5 (0 reviews)Active installs 300

Description

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.

Installation

  • You must install Redis on your server(s)

Frequently Asked Questions

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

Review feed

No reviews available

Screenshots

  1. Statistics admin panel

    Statistics admin panel

  2. Posts queue admin panel

    Posts queue admin panel

  3. Configuration info admin panel

    Configuration info admin panel

Changelog

1.7

  • optimizations

1.6

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

1.5

  • WP-Admin sync all option
  • optimizations

1.4

  • show total views on Posts Queue tab
  • optimizations

1.3

  • improved stats using Chart.js

1.2

  • posibility to sync the post views in Posts Queue tab

1.1

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

1.0

  • in production extensive testing done