Cache shipping rates for better performance

Created on 10 May 2022, almost 3 years ago
Updated 25 January 2023, about 2 years ago

Problem/Motivation

As outlined in [3271347], expensive calls are made repeatedly for the same rate information.

This provides nominal caching so that the checkout flow is improved, while not persisting the data too long, causing stale prices.

Note: this patch also includes the patch from [3206180-14], as we are using that patch on a site already, and this patch would conflict with that one if done separately, since they both modify the class constructor.

Feature request
Status

Fixed

Version

3.0

Component

Code

Created by

🇺🇸United States TomTech

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024