Closed darcie closed 5 months ago
I've updated the focus label and linked PR. This is an issue with the wcpay_currency cookie and how it is being set. We'll be exploring ways to address this in the next release.
@rafaelzaleski Given the note about the set cookie header preventing caching, is there a different approach we could take here? My thoughts are not setting it when the same or setting through another mechanism (I'm less clear on this as I know there was some effort around HTTP only cookies or not).
Please add your planning poker estimate with Zenhub @rafaelzaleski
We'll be reverting the cookie change that causes this caching issue in WooPayments 7.6.0 releasing on May 8 and will reopen the https://github.com/Automattic/woocommerce-payments/issues/8130 as we look for a better solution.
Describe the bug
Related to #8534
After updating to WooPayments 7.5.1, Site Health sometimes reports a critical performance issue.
Upon checking in hosting, it appeared to be related to this string:
To Reproduce
Actual behavior
The error seems to be temporary in some cases, I reproduced it with Multi-currency enabled but no additional currencies as well as multiple added currencies.
The merchant did not notice any change in site behavior yet, but was concerned about the critical warning.
Screenshots
Expected behavior
No performance change with the additions of #8645
Additional context
8070554-zd-a8c