I'm troubleshooting our WooCommerce Reset Password Link as it's not sending the password reset email and suspect caching is the issue. I have the following caching enabled:
- Cloudflare
- WP Rocket
Under Cloudflare, I have the following rules:
- https://www.example.com/my-account/*
- Cache Level: Bypass, Disable Apps, Disable Performance
Headers:
I see that the cache is bypassed when visiting the pages by inspecting the headers and seeing cf-cache-status: BYPASS, but when I submit the email to send the password, I see the following HTML requests:
302 POST example.com /my-account/lost-password/ (header says cf-cache-status: DYNAMIC)
and
200 GET example.com /my-account/lost-password/?reset-link-sent=true (header says cf-cache-status: BYPASS)
My question is: is this first POST Request (302) normal behavior with the Page Rule I have set up? I'm just trying to debug why reset password emails will not send at all.
I believe WP Rocket bypasses Woo pages by default. Thanks for any insight!