You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is in relation to the following WooCommerce Ajax Products Filter plugin (though I suppose it could happen with other plugins that do similar things with URL paths): https://berocket.com/woocommerce-ajax-products-filter/
When filters are applied to the first page above, the filter function works by adding the additional parts to the page's path, and we get the 2nd URL not cached.
Rocket Debug shows the following reasons: Page not cached by filter. Buffer content under 255 characters.
For additional context, we made this update some time ago to prevent caching for invalid taxomonies: #6984
However, it seems that change has caused some pages that are valid, like the one above, to not be cached.
Expected behavior
The valid taxonomy pages should be cached while still not allowing invalid taxonomy pages to be cached.
Describe the bug
The general pattern of the issue is that a page like this one is cached:
https://example.com/product-category/powerflex/
While ones like this are not cached:
https://example.com/product-category/powerflex/filters/powerflex-car-model/alto-1987-2011/
This is in relation to the following WooCommerce Ajax Products Filter plugin (though I suppose it could happen with other plugins that do similar things with URL paths):
https://berocket.com/woocommerce-ajax-products-filter/
When filters are applied to the first page above, the filter function works by adding the additional parts to the page's path, and we get the 2nd URL not cached.
Rocket Debug shows the following reasons:
Page not cached by filter.
Buffer content under 255 characters.
For additional context, we made this update some time ago to prevent caching for invalid taxomonies:
#6984
However, it seems that change has caused some pages that are valid, like the one above, to not be cached.
Expected behavior
The valid taxonomy pages should be cached while still not allowing invalid taxonomy pages to be cached.
Screenshots
https://imagizer.imageshack.com/a/img923/6659/lbFRCE.png
Additional context
Ticket:
https://secure.helpscout.net/conversation/2841718115/539402
Slack:
https://wp-media.slack.com/archives/C07PZNW7BJ5/p1739203324588729?thread_ts=1739169608.110309&cid=C07PZNW7BJ5
The text was updated successfully, but these errors were encountered: