Skip to content

Commit ee90015

Browse files
committed
Update session-handling.md
1 parent 42294a3 commit ee90015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/recipes/session-handling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ If the session is dirty (changes detected), you can use [[function-sessionCommit
283283
284284
With `sessionCluster` enabled, when a change in the session is detected, the change will be written out at the end of the request.
285285
286-
The change detection, for performance reasons, does not do a deep inspection of nested objects or components. It only checks the two top level values in the session scope, deeply nested changes will not be detected, as this is expensive (happens every request).
286+
The change detection, for performance reasons, does not do a deep inspection of nested objects or components. It only checks the top level values in the session scope for change, deeply nested or changes inside persisted components will not be detected, as this is complicated / expensive and happens at the end of every request.
287287
288288
Storing components in the session scope is not **recommended**, it's expensive to check for changes and it adds per request overhead serializing/deserializing (read/write) and increases the stored session size.
289289

0 commit comments

Comments
 (0)