Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The opposite of the nocache query parameter for testing #7335

Open
Roy-Orbison opened this issue Feb 26, 2025 · 0 comments
Open

The opposite of the nocache query parameter for testing #7335

Roy-Orbison opened this issue Feb 26, 2025 · 0 comments

Comments

@Roy-Orbison
Copy link

Is your feature request related to a problem? Please describe.
Sometimes optimisations break a page, so you need to make adjustments to WP Rocket's settings, the page, or both, but you also need to keep the site live. This requires you to add the page's URL to the Never Cache URL(s) exclusion list to minimise disruption to your visitors.

Describe the solution you'd like
The ability to add a parameter, e.g. yescache, to the URL to temporarily override that exclusion list, for only that page view. This would allow you test whether your changes work before serving the optimised version to your visitors again.

It would probably need to show an error/info message, rather than an outdated version of the page, if the optimised version had not been generated yet.

Describe alternatives you've considered
Duplicate entire pages, leave them in draft mode, test with them, then repeat the changes to the real page. Tedious, more error-prone, and URL differences can cause further difficulties.

Otherwise, make changes, remove the exclusion, wait for the optimised page to be generated, see if it broke again, hope no users got a bad version if it did, add it to the exclusion list again, try to fix it again. Repeat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant