Caching, cookies, import/export and reset
How the gate stays compatible with page caching, how to tune the cookie, and how to move settings between sites.
On this page
How caching works with the gate
The gate reads the verification cookie in the visitor’s browser, so WP Rocket, LiteSpeed Cache and Cloudflare can keep caching your pages. Pages that use region rules, geo-location, a schedule, an A/B test or strict gating are automatically marked as non-cacheable.
Smart asset loading
The plugin’s CSS and JavaScript load only on restricted WooCommerce pages. This needs a display scope other than Entire website.
Cookie settings
| Setting | Default | When to change it |
|---|---|---|
| Cookie name | age_verified |
Your cache plugin needs a specific prefix to vary the cache |
| Cookie path | / |
You want the gate only under a subdirectory |
| Secure / SameSite | Recommended on HTTPS | Leave on |
Import, export and reset
- Export downloads your settings as a JSON file — handy for backups or moving from staging to live.
- Import takes pasted JSON and overwrites your current settings.
- Factory reset erases settings, logs, lockouts and stored locations.
Tip: On Multisite, use the network Copy settings tool instead — see Team access and Multisite.