whiteout-io / mail

[ABANDONED] Mail App with integrated OpenPGP encryption
https://whiteout.io
MIT License
545 stars 96 forks source link

Lazy load message list #304

Closed PiNotEqual3 closed 9 years ago

PiNotEqual3 commented 9 years ago

I logged in and it shows me an empty inbox.

In F12 log I can see a lot of actions. I am guessing it is downloading all mails from my inbox?

I got ~20'000 Mails there. That's gone be fun...

(Chrome Browser)

PiNotEqual3 commented 9 years ago

If I block mailbox access (see #305) I can view inbox with cached messages. I am sure I don't want to keep all mails in browser cache...

felixhammerl commented 9 years ago

the messages are kept safely inside your browser's indexeddb, and you want them there so you can use whiteout mail offline.

but yes, eager loading is a performance bottleneck and we're addressing that as we speak. will probably switch to lazy loading messages in the near future.

felixhammerl commented 9 years ago

this has been addressen a couple of releases ago.