Avoid unnecessary Sitecore Data Provider calls to the Commerce Engine

The way that Sitecore Data Provider fetches Commerce entities puts a heavy load on the Commerce Engine and can result in high performance cost. To help mitigate performance impact, the first time that Commerce Engine (CE) Connect loads a Commerce entity, it caches the entity in all languages in the Commerce Engine Connect cache. CE Connect caching avoids overloading the Commerce Engine with multiple requests for the same entity.

Whenever possible, you should always consider reusing previously cached entities from the CE Connect cache in your custom code.