Title: PearlView Counter
Author: Prashant Gorule
Published: <strong>November 26, 2026</strong>
Last modified: November 26, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/pearlview-counter.svg)

# PearlView Counter

 By [Prashant Gorule](https://profiles.wordpress.org/prashant32/)

[Download](https://downloads.wordpress.org/plugin/pearlview-counter.1.3.0.zip)

 * [Details](https://wordpress.org/plugins/pearlview-counter/#description)
 * [Reviews](https://wordpress.org/plugins/pearlview-counter/#reviews)
 *  [Installation](https://wordpress.org/plugins/pearlview-counter/#installation)
 * [Development](https://wordpress.org/plugins/pearlview-counter/#developers)

 [Support](https://wordpress.org/support/plugin/pearlview-counter/)

## Description

A visit does not update the database. The page prints the current total and, after
it has loaded, a tiny request adds one to a Redis counter. A scheduled check later
copies those counters into post meta, and only while the clock is inside a window
you set.

Default windows, India time (Asia/Kolkata):

 * 3:00 AM to 12:00 PM
 * 3:00 PM to 6:00 PM

Change the time zone, the hours, and how often the check runs under Settings  PearlView
Counter.

The total shown at the end of a post is the database value plus anything still waiting
in Redis.

Requires a persistent object cache. Redis, via the Redis Object Cache plugin, is
the expected setup.

## Installation

 1. Upload the plugin zip in Plugins  Add New  Upload Plugin, then activate it.
 2. Install and enable Redis Object Cache so `wp-content/object-cache.php` is active.
 3. Open Settings  PearlView Counter and confirm the hours.
 4. On a VPS, run real cron every 15 minutes so the 3:00 AM window still fires when
    the site has no visitors:
 5. define( ‘DISABLE_WP_CRON’, true );
 6. */15 * * * * curl -s https://example.com/wp-cron.php?doing_wp_cron >/dev/null 2
    >&1

## FAQ

### Will a page view write to MySQL?

No. The view increments Redis. MySQL is updated only inside your write hours, or
when an administrator uses “Write to the database now”.

### What if Redis restarts before a window?

Pending counts that have not been written yet are lost. Totals already stored in
post meta stay.

### Does uninstall delete the counts?

No. Settings are removed. The `_pearlview_views` post meta is left in place.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“PearlView Counter” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Prashant Gorule ](https://profiles.wordpress.org/prashant32/)

[Translate “PearlView Counter” into your language.](https://translate.wordpress.org/projects/wp-plugins/pearlview-counter)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/pearlview-counter/),
check out the [SVN repository](https://plugins.svn.wordpress.org/pearlview-counter/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/pearlview-counter/)
by [RSS](https://plugins.trac.wordpress.org/log/pearlview-counter/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * First release. Redis counting, scheduled database writes, and a settings screen
   for the write hours.

## Meta

 *  Version **1.3.0**
 *  Last updated **1 hour ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.5 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 *  [Advanced View](https://wordpress.org/plugins/pearlview-counter/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/pearlview-counter/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/pearlview-counter/reviews/)

## Contributors

 *   [ Prashant Gorule ](https://profiles.wordpress.org/prashant32/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/pearlview-counter/)