Skip to content

Commit 2ed5cfe

Browse files
committed
chore: remove noCache options
We are using fastly now so the noCache options is useless and can be removed
1 parent 96a845f commit 2ed5cfe

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

docs/API.md

-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ new Display($('#element'), options)
6868
| displayUrl | `https://display.nfinite.app` | Override the generated base url for the Display (useful in development mode). |
6969
| oembedUrl | `https://display.nfinite.app/api/oembed` | Override the generated base url for oembed api (useful in development mode). |
7070
| language | default language set in my.nfinite.app | One of the defined language in my.nfinite.app (in the platform section). |
71-
| noCache | `false` | By default data from the Display is cached, you can bypass that by setting noCache to `true` |
7271

7372
e.g.:
7473

packages/display-react/src/index.js

-3
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ function Display(
4949
onChangeScene,
5050
onChangeSelectedProductLocation,
5151
onChangeProduct,
52-
noCache,
5352
language,
5453
},
5554
controller,
@@ -82,7 +81,6 @@ function Display(
8281
responsive,
8382
oembedUrl,
8483
displayUrl,
85-
noCache,
8684
language,
8785
})
8886

@@ -143,7 +141,6 @@ function Display(
143141
onChangeProductStable,
144142
onFilterStable,
145143
onReadyStable,
146-
noCache,
147144
language,
148145
])
149146

0 commit comments

Comments
 (0)