Expand description
ยงCache ๐ฆ - process-wide caching primitives for Land ๐๏ธ
Two independent caches that the Tauri host (Mountain) and any other Land embedder share:
AssetMemoryMap- file-backed mmap cache for bundled static assets. The bundled workbench underElement/Sky/Target/Static/Application/is ~80 MB; per-requestfs::readpays a syscall + alloc + memcpy on every fetch, whereasmemmap2::Mmaphands the webview a borrowed slice of file-backed pages the OS can evict under pressure. Optional<file>.brsiblings are picked up transparently forContent-Encoding: br.PathCanon- process-wide canonical-path cache. Collapses repeateddunce::canonicalizecalls used by fs-scope security gates.time_to_idle = 60sbounds staleness against external renames while hot paths stay cached indefinitely.
Both caches are additive performance helpers; consumers continue to function with any one of them disabled.
Modulesยง
- Asset
Memory Map - Memory-mapped asset cache for the bundled workbench (and any other
static-disk asset served via
vscode-file://,tauri://, orland://scheme handlers). - Path
Canon - Process-wide canonical-path cache.