MCPcopy Create free account
hub / github.com/pydio/cells / WithCache

Function WithCache

common/nodes/sync/handler-sync-cache.go:67–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65}
66
67func WithCache() nodes.Option {
68 return func(options *nodes.RouterOptions) {
69 if options.SynchronousCache {
70 options.Wrappers = append(options.Wrappers, newCacheHandler())
71 }
72 }
73}
74
75// CacheHandler maintains a cache of the nodes during modifying operations to make listings more reactive.
76// It is used by basic APIs (like WebDAV) for better visual performances and to create pseudo-synchronous APIs.

Callers 1

pathComposerFunction · 0.92

Calls 1

newCacheHandlerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…