that is not correct and i understand the confusion.
to be clear, there are two caches.
each cache has:
a. different purpose
b. different data
c. different storage
d. different levels of volatility
-
dir-cache
a. to speed the listing of folder/file names from slow cloud based storage.
b. a list of folder/file names.
c. stored in memory.
d. does not survive a reboot. -
vfs-cache
a. to store the contents of files read from slow cloud storage. suffice explanation for now.
b. the contents of files.
c. stored in local storage, in your casee:/cache
.
d. does survive a reboot.