ctf0 / Laravel-Media-Manager

A "Vuejs & Laravel" Media Manager With Tons of Features
MIT License
832 stars 181 forks source link

[BUG] request takes longer when using cloud drivers #144

Closed ctf0 closed 4 years ago

ctf0 commented 4 years ago

What version of Laravel are you using? (nothing lower than v5.4).

v7

is it an issue related to installation or usage ?

Usage issue

what is the error you are getting ?

nothing, request could take about 30s+ to load data

Extra Info "attaching a screen shot would be very helpful"

https://github.com/ctf0/Laravel-Media-Manager/issues/143

Do You Know A Solution For this Issue ?

not yet

ctf0 commented 4 years ago

disabling

https://github.com/ctf0/Laravel-Media-Manager/blob/717144b9dd3f0d8b06eee5cafb8c7589c6ef9190/src/config/mediaManager.php#L87

cut the loading time into half

ctf0 commented 4 years ago

using https://github.com/thephpleague/flysystem-cached-adapter add significant cut in request time, down to almost 3s for new requests & in ms range on subsequent requests.

be aware of https://github.com/thephpleague/flysystem/issues/913#issuecomment-385485617