Hi @webberende,
It is hard to debug this from the outside, but I assume the problem is related to the caching mechanism of WP Rocket. Have you tried to disable caching for the page with the map?
To exclude a page from caching in WP Rocket, you can follow these steps:
- Log in to your WordPress dashboard.
- Go to WP Rocket in the sidebar menu and select Settings.
- Navigate to the Cache tab.
- Scroll down to find the Advanced Rules section.
- In the Never Cache URLs field, enter the URL of the page you want to exclude from caching. You can add multiple URLs here, one per line. Use patterns or wildcards (
*) if you want to exclude multiple similar URLs.
- For example, adding
/example-page/ will exclude that specific page, while /category/* would exclude all pages within that category.
- Click Save Changes to apply the settings.
Alternatively, if you want to exclude a page directly from the page editor:
- Open the page you want to exclude from caching in the WordPress editor.
- In the WP Rocket box (usually in the sidebar or below the editor), check the option that says “Exclude this page from caching.”
- Save or update the page.
Does this help?
Best regards,
Daniel
I’m closing the ticket due as it seems to work for you. Please open a new ticket if something does not work as expected.