wp-rocket
wp-rocket copied to clipboard
Clear Performance Hints of this URL won't clear the home page qs
Before submitting an issue please check that you’ve completed the following steps:
- Made sure you’re on the latest version ✓ branch
3.17/6845-subtask-data-clearing-notices - Used the search feature to ensure that the bug hasn’t been reported before ✓
Describe the bug Using the "Clear Performance Hints of this URL" on the view page of home, will not clear the home page qs URLs.
To Reproduce Steps to reproduce the behavior:
- In the wp-admin of testing site, go to WPR settings > Advanced Rules and add 'test', 'lang', gclid' under the "Cache Query String(s) section & Save changes.
- Visit homepage, homepage/?test, homepage?lang=en, homepage?test&lang=1&?gclid=something and check all pages are cached
- In the admin, view the home page and click "Clear Performance Hints data of this URL" from top bar > WPR menu
- Inspect cache folder and notice that the cache of home and home with qs are not deleted.
Related TC.
Expected behavior Should clear the cache of the home page and home page qs when using "Clear Performance Hints of this URL".
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
Acceptance Criteria (for WP Media team use only) Clear instructions for developers, to be added before the grooming