Does your site use caching?
Caching Can Prevent You From Seeing Site Updates
Marijuana Age Verify is designed to support caching services in various ways.
Cache busters have been built into our code to improve file and display updates. If these features do not work on your site, you will need to clear cache manually to troubleshoot plugin updates or settings changes from taking effect. Learn more below.
Automatic cache clearing helps saved plugin edits take effect on most websites.
Refresh and clear browser cache.Your browser could be showing old information. Hard refresh your browser or open a new incognito window.
Why is caching used?
Caching increases website performance, such as speed. It allows for a page you’ve previously visited to load faster next time. When multiple systems use caching it lightens the workload for peak performance. However, when you make website changes it can be a pain to view them. Some website owners have installed caching tools. It requires you clear page or sitewide cache in WordPress. Your server may also have a caching system. It requires server administration. The most common is browsers cache which can be cleared through your browser settings.
Automatic Cache Busting
Cache busters have been built into our code to improve file and display updates.
Plugin Update Cache Busting
Built-in File Cache Busting helps plugin updates take effect more immediately on cached websites. CSS and Javascript calls add cache busting to improve plugin update changes taking effect.
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.
Automatic Page Cache Clearing
Page cache is automatically cleared sitewide each time 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 page cache manually. See the list of caching systems the plugin is compatible with.
Troubleshooting Tips
I installed and setup the plugin but it is not displaying.
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 network caching services may run into this issue.
My saved edits are not taking effect.
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 window.
The plugin features Automatic Page Cache Clearing each time plugin settings are saved. If this feature does not work on your cached site you will need to clear page cache manually each time plugin settings are saved.
Manual Steps:
- Edit and save plugin settings.
- Clear page cache before heading to your website to view the changes.
- Clear browser cache on repeated viewing of the window. 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.
Plugin update not taking effect.
Built-in File Cache Busting helps plugin updates take effect more immediately. If a plugin update does not take effect try clearing server cache manually.
"Enable" settings not taking effect.
Problems with "enable verification" settings updating? You might need a cache workaround. Learn about "realtime settings check"
Read next: My MJ Age Verify window is not popping up