Open
Description
As of now, wcpay_onboarding_fields_data
is never cleared from “cache” (backed by the options table) – it is not used except in one specific (onboarding) case, takes up over 100kB (at least under the one set of conditions I tested), and is automatically fetched if not available.
According to @dmallory42 this can be addressed by "clearing it after the onboarding is complete", or "making it a transient instead" to facilitate automatic expiration (either as part of Database_Cache
util or bypassing it?)
(Edit: we should also consider stores that are upgrading, making sure to apply expiration retroactively)
Activity