Skip to content

Optimize carrier sorting with caching in ShippingProvider#820

Open
adammaly wants to merge 1 commit intoZasilkovna:pre-releasefrom
adammaly:pre-release
Open

Optimize carrier sorting with caching in ShippingProvider#820
adammaly wants to merge 1 commit intoZasilkovna:pre-releasefrom
adammaly:pre-release

Conversation

@adammaly
Copy link

@adammaly adammaly commented Aug 7, 2025

Introduces a static cache for carrier entities in ShippingProvider to reduce redundant database queries during method sorting. Adds methods to preload carriers, retrieve from cache, and clear the cache, improving performance when sorting shipping methods by carrier name.

Introduces a static cache for carrier entities in ShippingProvider to reduce redundant database queries during method sorting. Adds methods to preload carriers, retrieve from cache, and clear the cache, improving performance when sorting shipping methods by carrier name.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant