Categories Cache

Prev Next

The Shopping App backend caches category data to speed up catalog browsing within Shopping App.

The following data is cached:

  • The category tree that forms the navigation.

  • For each category, the backend caches the order in which products appear in this category, the available filters, and sorting options.

The cache is used when browsing the product lister view in the Shopping App.

Note

Product data (such as the product name, pricing info, and more) is stored in a separate cache. The categories cache only stores the order of products.

Refreshing the categories cache

The categories cache can be refreshed in 3 ways: automatically on a platform schedule, via NewStore Studio, or using an API.

By default, this cache is refreshed regularly throughout the day on a preferred, configurable schedule (set to every hour, every 3 hours, or every 8 hours). Additionally, the categories cache is refreshed as part of any manual cache refreshes performed or scheduled in NewStore Studio.

Using an API to refresh the categories cache

You can also disable the scheduled refreshes and use an API to refresh the categories cache. By integrating the API call into a catalog import or export process, for example, Shopping App can be kept as up-to-date as possible.

The Shopping App backend offers an API that can be used to refresh the categories cache. Calling the API endpoint starts a background job that refreshes all cached category data.

Refer to the documentation for the API here. To use this API you’ll need:

  • Your merchant ID

  • Credentials for calling this API

You can request for the merchant ID and credentials from your Omnichannel Success Manager.