HI!
I'm running https://developers.google.com/speed/pag ... ab=desktop
and the test result was 76 / 100
What can I do for improve it?
Thanks in advance for your replies
Mojarra 2.2.10
PFE 3.0
PF 5.2.1
Tomcat 7,8
Google PageSpeed with PF 5.2.1
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
do exactly what google suggest in your app Only reduce css/html/js is related to PrimeFaces.
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
-
- Posts: 18
- Joined: 04 May 2011, 20:49
Thanks @tandraschko
But to reduce css/js is necessary change primefaces source, ok it is not problem... so, the problem is this "Remove the blocking JavaScript and CSS display the contents of the upper half of the page ..."
The idea is load the primefaces resources at the end and not the beginning
It's possible?
But to reduce css/js is necessary change primefaces source, ok it is not problem... so, the problem is this "Remove the blocking JavaScript and CSS display the contents of the upper half of the page ..."
The idea is load the primefaces resources at the end and not the beginning
It's possible?
Maybe it is good to actually try to understand what G**gle suggests
The **should fix** is, as I mentioned above, something **you** should configure on your server
The **consider fixing** requires more analysis, but for the one that is (seems to be) PrimeFaces 'framework' related:
The css/javascript IS reduced, Might be that G**gle uses a slightly different algorithm where they can achieve a **little** more reduction. *Not* worth the effort imo.
So that only leaves the moving of the scripts to the end... Well... Don't try to do this yourself. Use omnifaces: http://stackoverflow.com/questions/2317 ... ript-files
The **should fix** is, as I mentioned above, something **you** should configure on your server
The **consider fixing** requires more analysis, but for the one that is (seems to be) PrimeFaces 'framework' related:
The css/javascript IS reduced, Might be that G**gle uses a slightly different algorithm where they can achieve a **little** more reduction. *Not* worth the effort imo.
So that only leaves the moving of the scripts to the end... Well... Don't try to do this yourself. Use omnifaces: http://stackoverflow.com/questions/2317 ... ript-files
What Server are you running?
Maybe use a CDN for primefaces related resources.
There is no need to let a JSF Container handle static resources.
Maybe use a CDN for primefaces related resources.
There is no need to let a JSF Container handle static resources.
- See OmniFaces CDNResourceHandler
- PF 5 CDN ready resources: http://forum.primefaces.org/viewtopic.php?t=38421
- PF-Extension CDN ready resources: http://forum.primefaces.org/viewtopic.php?t=38374
Primefaces: 11.0.0 RC2
Primefaces-Extension: 11.0.0
PrimeFaces-Mobile: 11.0
OmniFaces: 3.11
Jsf: Mojarra 2.3.8
Server: Glassfish 5.1.0
Primefaces-Extension: 11.0.0
PrimeFaces-Mobile: 11.0
OmniFaces: 3.11
Jsf: Mojarra 2.3.8
Server: Glassfish 5.1.0
-
- Information
-
Who is online
Users browsing this forum: No registered users and 55 guests