console icon indicating copy to clipboard operation
console copied to clipboard

🐛 Bug Report: Very slow web browsing in the console with Safari

Open Emilien-Lambert opened this issue 2 years ago • 5 comments

👟 Reproduction steps

Go to appwrite web interface, for example : https://appwrite.my-domain.com/console/

Then navigate between the different collections and attributes tabs, etc.

👍 Expected behavior

Smooth, Google Chrome-like navigation.

👎 Actual Behavior

Very long loading times, datas seems to be reloaded each time instead of using the browser's cache

🎲 Appwrite version

Version 1.3.x

💻 Operating system

MacOS

🧱 Your Environment

Appwrite v1.3.8 Deploy with CapRover Safari : Version 16.5.2 (18615.2.9.11.10) MacOS : 13.4.1 (c) (22F770820d) Server : VPS on OVH cloud with 4 vCores and 4Go ram.

👀 Have you spent some time to check if this issue has been raised before?

  • [X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Emilien-Lambert avatar Aug 18 '23 15:08 Emilien-Lambert

@Emilien-Lambert thanks for raising this issue! 🙏🏼 Would you please provide more details/insights into what "very long loading times" really is (numbers)? I tried comparing Safari (Version 16.5.2 (17615.2.9.101.1, 17615)) and Chrome (Version 116.0.5845.96 (Official Build) (arm64)), but they seemed the same to me.

stnguyen90 avatar Aug 18 '23 17:08 stnguyen90

@stnguyen90 To answer your question, I don't really know how to change my Safari version. I currently have Version 16.5.2 (18615.2.9.11.10). You ask me to try Version 16.5.2 (17615.2.9.101.1, 17615). I see that 16.5.2 is common, so I guess it's pretty similar, isn't it?

Concerning google I tested with the version Version 116.0.5845.96 (Official Build) (arm64) as you asked and everything works perfectly as expected. Navigating between pages and collections is almost instantaneous - there's no feeling of loading or slowness.

As far as numbers are concerned, it's quite difficult to chromometer with precision, but I've made a video capture with the console open, so you can get an idea.

You can see that there are several moments when several collection tabs are selected at the same time. This is when the site freezes for 2 or 3 seconds, sometimes much longer. When I was modifying my database, I sometimes experienced loading times of 10s 15s.

https://github.com/appwrite/appwrite/assets/52819523/f3a7ee8a-1798-417a-8170-a9dc912f5d17

Emilien-Lambert avatar Aug 19 '23 09:08 Emilien-Lambert

I can reproduce this as well. It gets worse with continuous or high console usage sometimes.

Works nice on Chrome though.

ItzNotABug avatar Sep 07 '23 11:09 ItzNotABug

@Emilien-Lambert, thanks for the video! 🙏🏼 does using a private browsing window without any extensions make any difference?

stnguyen90 avatar Sep 09 '23 00:09 stnguyen90

In my memories, the problem was perfectly identical without extensions and in private browsing. Anyway, I've installed version 1.4.2 and it seems to work just fine on Safari.

I'm going to continue testing in depth, but the problem seems to have been solved.

Emilien-Lambert avatar Sep 10 '23 14:09 Emilien-Lambert