Skip to content

Commit 333086a

Browse files
authored
Update 16/umbraco-cms/reference/cache/imemberpartialviewcacheinvalidator.md
1 parent e90fc5c commit 333086a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

16/umbraco-cms/reference/cache/imemberpartialviewcacheinvalidator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This interface is called from the member cache refresher (`MemberCacheRefresher`
1616

1717
## Details of the default implementation
1818

19-
When a razor template partial is cached through `Html.CachedPartialAsync` with `cacheByMember` set to `true`, the extension method modifies the cache key. It appends the member ID of the currently logged-in member and a marker (for example, `-m1015-`) to the partial view cache key.
19+
Razor template partials are cached through a call to `Html.CachedPartialAsync` with `cacheByMember` set to `true`. This will append the ID of the currently logged-in member with a marker to the partial view cache key. For example, `-m1015-`.
2020
When the `ClearPartialViewCacheItems` method is called it will clear all PartialView cacheItems that have the memberId marker for all passed in members.
2121
If no member is logged in during caching, items with an empty member marker (for example, `-m-`) are also cleared.
2222

0 commit comments

Comments
 (0)