Documentation Guides Clearing Your Website Cache

Clearing Your Website Cache

To ensure the latest data is captured by WP Statistics, you may need to clear your website’s cache if you’re using a caching plugin. Here’s how to do it with some of the most popular plugins:

  • WP Super Cache: Navigate to the plugin’s settings and click on “Delete Cache.”
  • W3 Total Cache: Go to the “Performance” tab and select “Empty All Caches.”
  • Other Caching Plugins: Look for a “Clear Cache” or similar option in the plugin’s settings.

Clearing the cache in your caching plugin helps serve fresh data, allowing WP Statistics to track your site’s visits more accurately.

Purging Your CDN Cache

If you’re using a CDN (Content Delivery Network) like Cloudflare or KeyCDN, it’s also important to purge your CDN cache to ensure updated data flow. Here’s how to do it with some of the commonly used CDNs:

  • Cloudflare: Log into your Cloudflare account, navigate to the “Caching” section, and click “Purge Everything.”
  • KeyCDN: Go to the “Zone” section in your dashboard and select “Purge.”
  • Other CDNs: Look for the cache purging options in your CDN’s dashboard.

Clearing the CDN cache ensures that updated files are being used, improving the accuracy of tracking on your website.

Excluding WP Statistics from Caching

To optimize tracking performance, we recommend excluding WP Statistics-related files (such as tracker.js) from being cached by your caching plugin or CDN. This step ensures that tracking remains consistent, even when caching is active.

Verify Cache Clearance

After you’ve cleared both the website and CDN caches, open your website in an incognito or private browsing window. Browse a few pages and then check your WP Statistics dashboard to confirm that the data is updating correctly.

Need Further Assistance?

For more tips and help with cache-related issues, visit the Troubleshoot the WP Statistics Tracker guide or reach out to our support team.