Fluent Commerce Logo
Docs
Sign In

fc.rubix.sdk.primaryEntityCache

Setting

Changed on:

12 Feb 2024

Setting AreaWorkflow
Supported context levels:Retailer

Overview

Improves performance by preventing context.getEvent() from making excessive calls.

Values

Data TypeValues
String

`flush-on-mutation`

Detailed technical description

Value: `flush-on-mutation`
Improves performance by preventing `context.getEvent()` from making excessive calls.

Default:
`context.getEvent()` may make unnecessary calls.

Requires all state transitions to be managed by the SetState  available in the Core Reference Module.

Configuration example

1"settings": {
2        "fc.rubix.sdk.primaryEntityCache": "flush-on-mutation"
3    }