I created a CustomLayout and want this to be the main design for my application.
@Override
public void init() {
setTheme("frontend");
CustomLayout CL = new CustomLayout("index");
Window main = new Window("FRONTEND");
main.setContent(CL);
setMainWindow(main);
}
My problem is, that it takes about 5-7 seconds for the page to load!
Its not a very complex design and it has not got many pics.
You can add ?debug to your URL to get access to the Vaadin debug info window. In this window you will get info about the performance of the different aspect of the roundtrip:
Making UIDL Request with params: 50,10PID13mousedetailss
Server visit took 415ms
and
Processing time was 76ms for 4720 characters of JSON
If these figures are low, then it is a browser rendering issue; otherwise, you’ll know if it is a server or a client side issue. Please post back when you do so we can help further.