-
-
Notifications
You must be signed in to change notification settings - Fork 185
Async Update The Manager
Muah edited this page Jun 13, 2018
·
13 revisions
to make the manager as much reliable as possible, we need a way to update the manager files list when any operation is made "upload, delete, rename, etc..".
so up until now every user was on his own, until the cache is cleared or he tries to do any something on an item that isnt really there & just get hit with an error.
so to fix all that we now use the websockets through laravel-echo, which is optional but if you want to get the best experiance possible, then make sure to follow the docs and install it.
- the manager broadcast using ->toOthers()
->toOthers()
to make sure the user dont get a double modification when he do any operation,
so in-order for that to work make sure that you registerecho
afteraxios
, otherwise the laravel defaults wont work.