cache¶
vb cache SUBCOMMAND
Description¶
Manage the cache used for expensive web pages such as /zip and /tarball.
The cache is stored in a file that is distinct from the repository but that is held in the same directory as the repository. The cache file can be deleted in order to completely disable the cache.
Subcommands¶
vb cache clear¶
vb cache clear
Description¶
Remove all entries from the cache.
vb cache init¶
vb cache init
Description¶
Create the cache file if it does not already exist.
vb cache list (ls)¶
vb cache list|ls
Description¶
List the keys and content sizes and other stats for all entries currently in the cache.
vb cache size¶
vb cache size [N]
Description¶
Query or set the maximum number of entries in the cache.
vb cache status¶
vb cache status
Description¶
Show a summary of the cache status.
Examples¶
Initialize and inspect cache
$ vb cache init
cache created in file C:/Users/visionbyte_developer/Desktop/VisionByteDoc/VisionByteDoc.cache
Show cache status after fetching expensive web pages such as /zip and /tarball
$ vb cache status
Filename: C:/Users/visionbyte_developer/Desktop/VisionByteDoc/VisionByteDoc.cache
Entries: 6
max-cache-entry: 10
Cache-file Size: 482,410,496
List cache entries
$ vb cache List
2026-02-03 01:51:00 1 77.7MB /sqlar/c054125b4b6aed6a86fd02260064a1f844bd52ef79e2bca63970b53fa1b314a7/VisionByteDoc-c054125b4b
2026-02-03 01:50:43 1 80.6MB /tarball/d494a0b28f0b90004266f4c8918a840c612fd7f922f82284143b145979348443/VisionByteDoc-d494a0b28f
2026-02-03 01:50:40 2 82.0MB /sqlar/d494a0b28f0b90004266f4c8918a840c612fd7f922f82284143b145979348443/VisionByteDoc-d494a0b28f
2026-02-03 01:49:12 1 80.3MB /tarball/bbc3f2cf527a0010372480a7cb1864b57855fa19f686ecbee88b1e87f14ce718/VisionByteDoc-bbc3f2cf52
2026-02-03 01:47:26 1 80.9MB /zip/1669264ae01ace4d593c6b45c4f067d742b6710cf4bac56b0228d2455c7de91f/VisionByteDoc-1669264ae0
2026-02-03 01:47:07 1 80.6MB /tarball/1669264ae01ace4d593c6b45c4f067d742b6710cf4bac56b0228d2455c7de91f/VisionByteDoc-1669264ae0
Filename: C:/Users/visionbyte_developer/Desktop/VisionByteDoc/VisionByteDoc.cache
Entries: 6
max-cache-entry: 10
Cache-file Size: 482,410,496
Clear cache entries
$ vb cache Clear
cache cleared