Disabling the API Cache
Partner Commerce has a cache that stores dynamic queries so that APIs do not have to rebuild them each time they are used. However, there is an issue with DC API Cache overload when creating Bulk Orders. To address this issue, you need to create an admin key for the Storefront where you want to disable the API Cache.
To disable the API Cache
-
Click the App Launcher (
) icon > search and select Admin.
- Click New.
-
Enter the following information:
Field
Description
Name
Enter the exact name as {{Storefrontname}}.DisableApiCache.
For example: If your storefront name is PartnerCommerce, then the name must be PartnerCommerce.DisableApiCache.
Note:Make an Admin record for each storefront where you want to disable the API Cache.
Value
Enter the value as true.
Code
Keep this field blank.
- Click Save.
To disable the API Cache
-
Click the App Launcher (
) icon > search and select Admin.
- Click New.
-
Enter the following information:
Field
Description
Name
Enter the exact name as {{Storefrontname}}.DisableApiCache.
For example: If your storefront name is PartnerCommerce, then the name must be PartnerCommerce.DisableApiCache.
Note:Make an Admin record for each storefront where you want to disable the API Cache.
Value
Enter the value as true.
Code
Keep this field blank.
- Click Save.