diff --git a/source/docs/v3/cached-lookup.blade.md b/source/docs/v3/cached-lookup.blade.md index babc411..993ee00 100644 --- a/source/docs/v3/cached-lookup.blade.md +++ b/source/docs/v3/cached-lookup.blade.md @@ -30,4 +30,8 @@ DomainTenantResolver::$cacheTTL = 3600; // specify some cache store // null resolves to the default cache store DomainTenantResolver::$cacheStore = 'redis'; -``` \ No newline at end of file +``` + +## Cache invalidation + +Updating and saving a Tenant model's attributes will cause the cached entry for this model to be invalidated when `DomainTenantResolver::$shouldCache` is set to `true`.