Documentation
    Preparing search index...

    Class CacheInvalidateMiddleware

    Middleware that intercepts backend data modifications to trigger cache invalidation.

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    _prefixResolver: PrefixResolver

    Methods

    • Hooks into the backend action lifecycle to clear relevant cache entries after a mutation.

      Parameters

      • dataObject: DataObjectClass<any>

        The object that was modified.

      • action: BackendAction

        The backend action executed (CREATE, UPDATE, DELETE).

      • Optionalparams: any

        Additional execution context.

      Returns Promise<void>