RC 1 Restore UI after browser refresh (F5)

In Vaadin 6 I liked that state of UI stored on server.
But now I see that after I use F5 in my browser - UI fully reinitialized. (I tried sample vaadin application with button and dynamic labels adding to layout by click)

How to save state? It is bug or architecture specific moment?
It is very important for my application.

Use @PreserveOnRefresh on your UI - see
this tutorial

Will @PreserveOnRefresh affect performance and memory footprint in a measurable way?

Stefan

The UI is kept in the session like in Vaadin 6.

The memory footprint of a UI in Vaadin 7 is a little bigger than that of a corresponding Vaadin 6 application - mostly due to data kept to enable shared state diff and sending only the necessary changes - but the time when the session data is released etc. should be similar to Vaadin 6.