You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 16/umbraco-cms/reference/configuration/cache-settings.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,29 +56,31 @@ The `ContentTypeKeys` setting specifies which Document Types should be seeded in
56
56
}
57
57
```
58
58
59
-
### DocumentBreadthFirstSeedCount
59
+
### DocumentBreadthFirstSeedCount and MediaBreadthFirstSeedCount
60
60
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.
62
62
63
63
```json
64
64
"Umbraco": {
65
65
"CMS": {
66
66
"Cache": {
67
-
"DocumentBreadthFirstSeedCount": 500
67
+
"DocumentBreadthFirstSeedCount": 500,
68
+
"MediaBreadthFirstSeedCount": 500
68
69
}
69
70
}
70
71
}
71
72
```
72
73
73
-
## MediaBreadthFirstSeedCount
74
+
## DocumentSeedBatchSize and MediaSeedBatchSize
74
75
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.
0 commit comments