CacheInvalidation
This page was created by Hans.karlsen@mdriven.net on 2019-03-18. Last edited by Hans.karlsen@mdriven.net on 2025-01-28.

This is work in progress and not available for production

MDrivenCacheInvalidationAdmin

  • LastInvallidationLoop
  • LastUpdateLoop

MDrivenCacheInvalidationRecentlyUpdated

  • id
  • class
  • time

MDrivenCacheManifestHead

  • ViewModel
  • RootId
  • Class
  • viewmodelMetaChecksum // set on update
  • priority // set by viewmodel property - this way information can control importance!
  • AllowOldness // set by viewmodel property - this way information can control when
  • Updated     // set on update
  • Invalidated

MDrivenCacheManifestRow

  • Id
  • Class
  • OptionalAssociationEndNameForBeingIncluded

Upon normal save new rows are inserted in MDrivenCacheInvalidationRecentlyUpdated

Upon InvalidationLoop

we look for direct hits on id and invalidate

we look for any objects of class that has been changed recently that now should be part of the set

(ie other end of OptionalAssociationEndNameForBeingIncluded , does it point to id -> invalidate)