Back

Flutter Web slow response

  • 0
  • Self Hosted
  • Flutter
  • Databases
  • Web
pitcairn1987
3 Mar, 2025, 17:29

I design a page in FlutterWeb I don't know why this list usually loads slowly only for the first time (about 10s).: https://genistree.pl/#/revisionbooks I'm getting documents by listDocuments

However, the next records (pagination is set to 30) load quickly. The same if I refresh the page. Even if I open the page again from a different browser, it's ok. I have the impression that loading takes longer only for the first time after a long break

TL;DR
Developers are experiencing slow loading times on a Flutter Web page, taking about 10 seconds for the initial load. Subsequent loads and refreshing the page lead to quicker loading times. This issue seems to occur only after a prolonged break. The structure of the database, the amount of documents, and the code organization may be contributing factors.
D5
3 Mar, 2025, 17:40

It loads instantly for me

D5
3 Mar, 2025, 17:42

Oh, you're right, if you click one in the map, it takes 30s to load

D5
3 Mar, 2025, 17:42

What's the code?

D5
3 Mar, 2025, 17:43

And how's the database structured?

D5
3 Mar, 2025, 17:43

I think you have a lot of documents in a single collection, right?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more