Caching

Introduction

Core-commerce implements multiple caching mechanisms to provide quick response times and ensure high availability. Caching is applied on our 'DMS' and 'OMS' hubs.

DMS

Our DMS endpoints use a short, 30 seconds, caching mechanism with no automatic updates, on the following OData calls.

Cached

  • GetAllCategories
  • GetCategoryById
  • GetProductById
  • GetProductBySku
    • 'GET | Product', 'GET | Pricing' and 'POST | Pricing' use one cache hit

OMS

Default caching for the OMS is set to 3 minutes. We apply an awesome caching mechnism where it's automatically updated on the background, when it's requested in the last 20% of the duration. When the caching duration has been expired, caching is done on demand.

Cached

  • Promotion attributes
  • Promotion calculation
    • Products (advertisable / discounts)
    • Shopping cart calculation