Skip to content

Commit 4cf9804

Browse files
committed
Added information about DocumentSeedBatchSize and MediaSeedBatchSize
1 parent 5200263 commit 4cf9804

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

16/umbraco-cms/reference/configuration/cache-settings.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,29 +56,31 @@ The `ContentTypeKeys` setting specifies which Document Types should be seeded in
5656
}
5757
```
5858

59-
### DocumentBreadthFirstSeedCount
59+
### DocumentBreadthFirstSeedCount and MediaBreadthFirstSeedCount
6060

61-
The `DocumentBreadthFirstSeedCount` setting specifies how many documents should be seeded into the cache when doing a breadth-first traversal. The default value is 100.
61+
The `DocumentBreadthFirstSeedCount` setting specifies how many documents should be seeded into the cache when doing a breadth-first traversal. `MediaBreadthFirstSeedCount` provides the same for media. The default value for both is 100.
6262

6363
```json
6464
"Umbraco": {
6565
"CMS": {
6666
"Cache": {
67-
"DocumentBreadthFirstSeedCount": 500
67+
"DocumentBreadthFirstSeedCount": 500,
68+
"MediaBreadthFirstSeedCount": 500
6869
}
6970
}
7071
}
7172
```
7273

73-
## MediaBreadthFirstSeedCount
74+
## DocumentSeedBatchSize and MediaSeedBatchSize
7475

75-
The `MediaBreadthFirstSeedCount` setting specifies how many media items should be seeded into the cache when doing a breadth-first traversal. The default value is 100.
76+
When populating the cache on startup the content keys defined by the seeding strategy are processed in batches. The batch size for documents and media can be modified via the `DocumentSeedBatchSize` and `MediaSeedBatchSize` respectively. The default value for both is 100.
7677

7778
```json
7879
"Umbraco": {
7980
"CMS": {
8081
"Cache": {
81-
"MediaBreadthFirstSeedCount": 500
82+
"DocumentSeedBatchSize": 500,
83+
"MediaSeedBatchSize": 500
8284
}
8385
}
8486
}

0 commit comments

Comments
 (0)