Skip to content

Commit 09bf6d1

Browse files
author
Alfred Brockotter
committed
docs: updated readme
2 parents ebaac66 + 8c7abb6 commit 09bf6d1

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,20 @@ npm i rxjs --save (because this is a peer dependency of the Kentico Kontent Deli
4848
.then(response => console.log('DeliveryClient Response', response));
4949

5050
```
51-
## Note:
51+
### Note:
5252
By default Nuxt can only work with promises. Therefor you always use the "toPromise" method provided by the Kentico Kontent Delivery SDK! RxJs operator's are not supported at the moment.
5353

54+
## Generating
55+
When using a static generated deployment you may need to use the [items-feed](https://docs.kontent.ai/reference/api-changelog#a-delivery-api-limitation) endpoint when generating your site (because the items endpoint has a rate limitation).
56+
57+
```javascript
58+
59+
this.$deliveryClient.itemsFeedAll()
60+
.toPromise()
61+
.then(response => console.log('DeliveryClient Response', response));
62+
63+
```
64+
5465
## Caching
5566
API calls can be "cached" (they will be stored in memory) client side via the "viaCache" method.
5667

0 commit comments

Comments
 (0)