-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
enhancementNew feature or requestNew feature or requestroadmapFeature request or enhancement in our roadmapFeature request or enhancement in our roadmap
Milestone
Description
Describe the bug
When using Litespeed, the plugin settings were not being saved correctly due to caching.
Steps to reproduce
- Open the plugin settings in WordPress.
- Make changes and save.
- Observe that the changes are not saved when Litespeed caching is active.
Workaround / Fix Applied
Added the following to Litespeed exclusions:
Do Not Cache URIs:
/wp-json/pressidium-cookie-consent/v1/settings
/wp-json/pressidium-cookie-consent/v1/*
Do Not Cache Query Strings:
rest_route=/pressidium-cookie-consent/v1/settings
After applying these exclusions, the settings could be saved as expected.
Environment:
Browser: Chrome
Plugin version: 1.8.0
Expected behavior
Settings should be saved without having to manually add cache exclusions in Litespeed.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestroadmapFeature request or enhancement in our roadmapFeature request or enhancement in our roadmap