Is it possible to disable caching in the latest version of file manager?
Hello,
Yes, you can modify the LocalData service and disable file and folder caching:
- for files, reload the related collection from
fscache
each time it is accessed - for folders, reload the
hierarchy
tree each time it is accessed
Here’s the snippet: Code Snippet
However, with folders I do not really recommend to reload it constantly, as it is accessed very frequently. As an alternative, you can pass the force
parameters into the necessary calls of the .folders()
method to reload it when you really need it.
For example, you can force reloading when folders path is formed in the panel above the files: Code Snippet