Does it work if my website uses caching?
NEW! BUILT-IN CACHE CLEARING
Marijuana Age Verify is designed to support caching services in various ways.
Website caching is the #1 reason age verify does not start working.
Does your website or hosting service use cache? Cache not capturing the new plugin code is the most common reason the age verify screen "popup" does not start displaying. Cache must be cleared to capture the new plugin code.
Make sure your website cache is empty. After enabling verification in the plugin settings clear your cache.
- Clear page cache
- Clear server cache
- Clear CDN cache
Websites using cache, caching plugins, website hosts that offer server caching and services like Cloudflare that offer network caching may run into this issue.
Clear cache each time plugin settings are changed.
Does your website use page caching? If you are not seeing edits take effect on the front end display, it is likely cache is the reason. Page cache is not the only culprit, your cached browser could be showing you an old version of the age verify screen.
- Edit and save plugin settings.
- Clear page cache before heading to your website to view the changes. Read about automatic cache busting below.
- Clear browser cache on repeated viewing of the age verify screen. Hard refresh the web page to see new changes take effect.
- Repeat each time changes are saved.
Keep in mind that due to the individualized way caching and cookies operate, a new visitor will experience the updated popup even when your browser/device isn't showing it to you. These steps will ensure you see what new visitors see.
Problems with "enable verification" settings updating? You might need a cache workaround. Learn about "realtime settings check"
Automatic Cache Busting
Cache busters* have been built into our code to improve file and display updates. The feature was added to v1.2 standard and Premium.
When cached websites install a plugin update the new files will take effect more immediately. This impacts installation of plugin updates only and new features showing in your plugin settings page. If you edit plugin settings after installing an update, page cache must be cleared to see them take effect in the display. See plugin settings cache busting for details.
Plugin Settings Cache Busting: Automatically clears page cache on save.
The page cache will be cleared sitewide each time plugin settings are saved.* When automatic cache clearing is working you will see a confirmation message. If you do not see a confirmation message, and display changes did not take effect after clearing the browser, clear your page cache manually. See the list of caching systems the plugin is compatible with below.
*Effects sites using certain page or server cache tools. Automatic cache clearing is compatible with these caching systems: WP Rocket, W3 Total Cache, WP Super Cache, WP Fastest Cache, WPEngine, SG Optimizer by Siteground, LiteSpeed, Cache Enabler, Pagely, Autoptimize, Comet Cache, and Hummingbird Cache
Read next: My MJ Age Verify window is not popping up