woocommerce/plugins
Corey McKrill bccc80366d
Update method for getting Reports API cache version number (#33353)
* Changes the frequency at which the Reports API cache can be invalidated via the cache version number to be at most once every 10 minutes, instead of with every change to the store.
* Changes the TTL of Reports API cache entries so that they expire after an hour instead of after a week.

The goal of these changes is to increase the chance that a request to the Reports API for store stats will result in a cache hit, thus avoiding expensive, slow queries. The reason for lowering the TTL is so that if multiple store changes are made within the new 10-minute frequency window, the cache data will only be stale for up to an hour. With #33325 users will be able to refresh entries in the cache manually if they think something is stale.

Closes #33315
2022-06-15 11:40:05 -07:00
..
woocommerce Update method for getting Reports API cache version number (#33353) 2022-06-15 11:40:05 -07:00
woocommerce-admin Update product task experiment names (#33428) 2022-06-15 16:34:24 +08:00
woocommerce-beta-tester merge changes 2022-06-10 12:26:26 +12:00