Senin, 29 September 2014

OmniFaces 1.8.1 released!


OmniFaces 1.8 1.8.1 has finally been released!



Also this release had some unscheduled delay for various reasons. Great programmers are also just humans with a "life" next to all the development work. I personally had after all a lot more time needed to acclimatize myself to the Netherlands after having lived in Curaƃ§ao for almost 6 years (still don't really feel home here outside the working hours, still want to go back once the kids grow out the house). Arjan had among others also some unforeseen issues with his new home.



As usual, in the What's new page of the showcase site you can find an overview of all what's been added/changed/fixed for 1.8. The three most useful additions are the , and @Eager.



Update: during fixing issue 35 for MyFaces, I accidentally removed a line necessary for deferred script from combined resource handler, causing it to combine those scripts twice (once in head and once in deferred script) :( OmniFaces 1.8.1 was quickly released with a fix. Reminder for the future: don't release on a Monday.



Installation



Non-Maven users: download OmniFaces 1.8.1 JAR and drop it in /WEB-INF/lib the usual way, replacing the older version if any.



Maven users: use 1.8.1.




org.omnifaces
omnifaces
1.8.1


Defer loading and parsing of JavaScript files



If you've ever analyzed the performance of your website using a tool like Google PageSpeed, then you'll probably recognize the recommendation to defer loading and parsing of JavaScript files. Basically, the recommendation is to load JavaScript files only when the browser is finished with rendering of the page. This is to be achieved by dynamically creating a