Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Vaadin App takes 30 seconds to Load

Shaun Wallace
6 years ago Oct 08, 2015 11:56pm
Kim Leppänen
6 years ago Oct 09, 2015 7:47am
Luqman Saeed
6 years ago Oct 13, 2015 3:59pm
Shaun Wallace
6 years ago Oct 13, 2015 5:31pm
Kim Leppänen
6 years ago Oct 14, 2015 5:39am

Caching all data in the UI layer is a bad idea, especially if you have large data sets. What you should do is load data lazily on the UI layer (see Viritin or Lazy Query Container) and then if needed, apply caching in the data layer using a caching library such as EhCache.