Skip to content

Cache semantics

omnifs has three host-owned caches.

CacheRolePersistence
Object cacheCanonical upstream bytes keyed by logical object id.Durable
View cacheDerived files, directories, attributes, and listings.Recreated on startup
Blob cacheLarge host-side byte payloads and archive trees.Host disk

On a view miss under a known object path, the host can map the path to a logical id, load cached canonical bytes, and pass canonical-input to read-file. The SDK renders only if the id matches the route-derived id.

Providers can return invalidation effects for objects or listings. The host also fences writes derived from stale pre-invalidation data.

Do not describe omnifs as simply TTL-based. The object cache is canonical storage, while view records are disposable rendered records with attributes and freshness behavior.