mesa loads your repository lazily rather than waiting for a full download. It materializes
files as you use them, fetching only what you’re likely to need.
Layout BFS Prefetching
Breadth-first layout prefetching works by downloading the listing of each directory, one layer lower than your current directory. As you visit/foo, we try to fetch the listing of /foo/bar and /foo/baz, but not /foo/bar/qux.
Content BFS Prefetching
This mode is currently in development and is not released. If you need it soon, do not hesitate to reach out to us.
mesa supports prefetching the file content. Similarly to layout BFS
prefetching, we prefetch files one-layer ahead of your current activity.
Configurable Prefetching
This mode is currently in development and is not released. If you need it soon, do not hesitate to reach out to us.
mesa can be configured to allow you tweak which part of the file tree you wish it to prefetch first. Adding the
following to your config.toml:
mesa pre-fetching all of /core/consciousness, in a depth-first manner, followed by fetching only one
level of the /hardware/terminators directory and then breadth-first prefetching everything as you lookup
files/directories. The ordering of the entries controls the prefetch rule priority.
To continue the example, after the first pre-fetching pass is complete, you would end up with the following cached:

