rgasch / filament-extended-starter-kit

73 stars 9 forks source link

Slow Loading Speeds #6

Closed jawadyazbek313 closed 1 year ago

rgasch commented 1 year ago

Can you please be more specific (and if possible provide some benchmarks/timings)?

Does this affect all the pages or just some? I tested things locally for me and it seemed fine, but if you can provide specifics I'll take a look.

jawadyazbek313 commented 1 year ago

Hi there, It slow for almost every page, here are some captures showing the loading times Capture Capture1

socbaysky commented 1 year ago

maybe happen in local env in first time login, can you try deploy to production or setup production on your local device?

jawadyazbek313 commented 1 year ago

I tried deploy using production its the same too many big files are loaded in pages even if they aint used

On Mon, Nov 14, 2022, 3:13 AM Le Viet Anh @.***> wrote:

maybe happen in local env in first time login, can you try deploy to production or setup production on your local device?

— Reply to this email directly, view it on GitHub https://github.com/rgasch/filament-extended-starter-kit/issues/6#issuecomment-1312918607, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUYT3V4JDXAR76BFRNWSWU3WIGG4ZANCNFSM6AAAAAAR6LT5VM . You are receiving this because you authored the thread.Message ID: @.***>

rgasch commented 1 year ago

You are correct in saying that lots of files are loaded but this is due to all the activated plugins. However, there must be something weird/wrong on your end, because just using the base 1.0.3 install, I get loading times of < 1 second; I'm not sure what could be causing such a dramatic slowdown (assuming you have a reasonably starterKitScreenshot modern computer).

In response to this, I've added caching directives to .htaccess and published this in a new release (v1.0.4); so please give that a try. This further improves speed; please see the attached screenshot from my local machine.

jawadyazbek313 commented 1 year ago

Thanks, I'll check it out.

On Mon, Nov 14, 2022, 10:10 AM Robert Gasch @.***> wrote:

You are correct in saying that lots of files are loaded but this is due to all the activated plugins. However, there must be something weird/wrong on your end, because just using the base 1.0.3 install, I get loading times of < 1 second; I'm not sure what could be causing such a dramatic slowdown (assuming you have a reasonably [image: starterKitScreenshot] https://user-images.githubusercontent.com/343614/201607950-aebbf634-6b32-4d0e-9b4f-e4cecc9c51f5.jpg modern computer).

In response to this, I've added caching directives to .htaccess and published this in a new release (v1.0.4); so please give that a try. This further improves speed; please see the attached screenshot from my local machine.

— Reply to this email directly, view it on GitHub https://github.com/rgasch/filament-extended-starter-kit/issues/6#issuecomment-1313252308, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUYT3VYJVUMT4NW7VR4GUDLWIHXWJANCNFSM6AAAAAAR6LT5VM . You are receiving this because you authored the thread.Message ID: @.***>

gogo740618 commented 1 year ago

I also experienced slow loading speed on all pages - removed tall-interactive package and now speed is back within normal limits.

rgasch commented 1 year ago

Thank you for this observation, I added a comment to the README concerning this.