O'Reilly logo

Liferay User Interface Development by Frank Yu, Xinsheng Chen, Jonas X. Yuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Velocity templates and portal page performance

Because the portal_normal.vm template incorporates other Velocity templates and defines the whole portal page, the Velocity templates have direct impact on the site performance.

According to the Yahoo! research published at http://developer.yahoo.com/performance/, if it takes three seconds for a browser to load a portal page, the browser spends 20% of the time in getting the HTML markup from the AS. It spends 80% of the time in rendering the HTML markup, which includes downloading images, Cascading Style Sheets (CSS), and JavaScript files, based on their URLs. The more URL-based components there are in the HTML markup, the more time it will take for the browser to present the page to the end user. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required