Using WP Rocket with WP-PostViews

⛔️ Deprecated: This document covers a legacy version of the WP-PostViews plugin.
The plugin is not compatible anymore with WP Rocket.

WP PostViews saves and displays how many times a post/post has been viewed. It is compatible with WP Rocket if you follow these steps:

  • On WP-PostViews’s settings page, select the AJAX method: Use AJAX to update views
  • If you have Minify JavaScript files enabled on the File optimization tab, exclude this URI from the minification process:
/wp-content/plugins/wp-postviews/postviews-cache.js
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.