Skip to content

Commit c7b5fd1

Browse files
authored
Update 16/umbraco-cms/reference/cache/imemberpartialviewcacheinvalidator.md
1 parent 6ee05bf commit c7b5fd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ This interface is called from the member cache refresher (`MemberCacheRefresher`
1717
## Details of the default implementation
1818

1919
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-`.
20-
When the `ClearPartialViewCacheItems` method is called it will clear all PartialView cacheItems that have the memberId marker for all passed in members.
20+
When the `ClearPartialViewCacheItems` method is called it will clear all cache items that match the marker for the updated members.
21+
2122
If no member is logged in during caching, items with an empty member marker (for example, `-m-`) are also cleared.
2223

2324
## Customizing the implementation

0 commit comments

Comments
 (0)