Opti-Behavior is designed to add analytics without slowing your site. This FAQ explains the specific techniques it uses so you can answer performance questions with confidence.
How the plugin stays fast #
- Async tracking script. The front-end script loads asynchronously, so it never blocks rendering. See how the tracking script works.
- Hybrid Storage. High-volume data (events, recordings) is written to files under
uploads/opti-behavior-datainstead of bloating MySQL, keeping queries fast. See how Hybrid Storage works. - Batch processing. Tracking data is sent in batches and processed in the background rather than on every click.
- Pre-aggregation. Dashboard widgets read from pre-aggregated and short-lived cached results instead of scanning raw data on each load.

Steps to confirm impact yourself #
- Run a front-end speed test (for example your browser’s Lighthouse) before and after enabling the plugin.
- Confirm the tracking script appears with the
asyncattribute in page source. - Check Opti-Behavior → Settings → Storage Stats to see how much data lives in files versus the database.
Expected result #
Front-end render metrics are effectively unchanged, and database growth stays modest because event data is stored in files.
FAQ #
Does it add render-blocking JavaScript? #
No. The script is async and does not block the page.
Will my database balloon on a high-traffic site? #
No. Event and recording data is written to files, so MySQL stays lean.
Does the admin dashboard get slow with lots of data? #
Widgets use pre-aggregation and caching, so they stay responsive; you can also trim old data in the Danger Zone.