wp-rocket
wp-rocket copied to clipboard
"?nowprocket" is cached when it's used with a cacheable query string
Before submitting an issue please check that you’ve completed the following steps:
- [x] Made sure you’re on the latest version
3.11.4.2
- [x] Used the search feature to ensure that the bug hasn’t been reported before
Describe the bug
?nowprocket
is sending back a cached page when used with a cacheable query string.
This behavior is more problematic on pages that have an automatic redirection, like WooCommerce Geotargeting for example (adding ?v=###
).
It will prevent quickly testing by bypassing the cache.
To Reproduce Steps to reproduce the behavior:
- Cache query string
test=1
for example - Check a page using ?nowprocket&test
- Check WP Rocket's footprint will be there on the bottom of the page + the cache folder will hold a filter called
#nowprocket=&test=1
Expected behavior
Cache should be bypassed on all cases when nowprocket
is used.
Screenshots Added to the description.
Additional context Ticket - https://secure.helpscout.net/conversation/1966589643/359443/
Backlog Grooming (for WP Media dev team use only)
- [ ] Reproduce the problem
- [ ] Identify the root cause
- [ ] Scope a solution
- [ ] Estimate the effort
Related - https://secure.helpscout.net/conversation/2001306081/366806
Related - https://secure.helpscout.net/conversation/2079190820/384799/
Issue happens when the WooCommerce localization v
query string is used.