Disable caching in file manager

Is it possible to disable caching in the latest version of file manager?


  • edited June 2020


    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: https://snippet.webix.com/j9aauwtc

    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: https://snippet.webix.com/0ccktvwn

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion