To keep your WordPress admin fast and responsive—even with heavy analytics—BotBlocker implements interface caching. This feature lets you balance performance, freshness of data, and server load by choosing how long to cache various dashboard elements.
What Is Interface Caching in BotBlocker?
Interface caching is the process of temporarily storing frequently used data—like statistics, news, and summary analytics—so that repeated page loads in the plugin’s admin area don’t trigger slow, resource-intensive database queries each time.
- Dashboard loads faster even with large log volumes or frequent updates
- Less server load and reduced risk of admin panel “lag” under high traffic
What Is Cached?
- Statistics and summary charts: Attack dynamics, top threats, user breakdowns
- Latest news and update banners: News from the BotBlocker team, version notifications
- Analytical widgets: Aggregate data on blocks, challenges, suspicious sessions
All these elements benefit from caching—especially on large, high-traffic WordPress sites.
Configurable Cache Time: You Choose the Freshness
In BotBlocker settings, you can choose the cache duration for interface elements:
- Set a cache time (e.g., 1 minute, 5 minutes, 30 minutes) that fits your needs
- Short cache = more real-time data, but higher server/database load
- Long cache = less frequent refreshes, ultra-fast dashboard
This flexibility means you’re always in control—whether you want “instant” stats for a security incident, or maximum speed for daily use.
Real-Time Mode: See Everything Live
BotBlocker also offers a real-time mode for the admin dashboard:
- When enabled, all widgets and analytics refresh instantly with every request—no caching delay
- Useful during attacks, debugging, or when you need second-by-second updates
Keep in mind: real-time mode increases server/database usage. Use only when truly necessary.
How Caching Works: WordPress Transients
For storing cached interface data, BotBlocker uses WordPress transients—the built-in, robust system for temporary data storage:
- Safe and scalable: Transients are stored in the database (or object cache if available)
- Automatic expiration: Data is automatically removed when cache time ends
- No manual cleanup needed
This approach avoids “reinventing the wheel,” leverages WordPress best practices, and ensures compatibility with all hosting environments.
Why Is This Important?
- Performance: Admin panel loads instantly, even with thousands of log records
- Flexibility: Choose between speed and real-time accuracy at any time
- Reliability: Caching never affects the accuracy of log storage or security filtering—only the display speed in the admin
FAQ
Can I see statistics in real time?
Yes, just enable real-time mode—no caching delay, all data is live.
Will caching affect actual security or log data?
No—caching is only for display. All checks and storage happen in real time, regardless of cache settings.
What if I want more frequent updates?
Set a shorter cache time, or enable real-time mode for “live” stats.
Read more about BotBlocker performance features
Internal Links (EN):
External Links (EN):