Hi
Whiles functionally testing my app, I have realised two main resources whose download cause significant
time delays on the loading of pages built with primefaces
These are jquery.js and jquery-ui.js
Is there a way of telling primefaces to use a google or aol CDN hosted version instead of the the one packaged with primefaces jars?
Primefaces 3.0 Performance of Resource Request
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
No, because they contain PrimeFaces extensions.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Maybe you can create a custom JSF ResourceHandler to point resource urls to another server in your network so resources and faces requests are handled by different machines. Just an idea.
Extensions in core query.js and query-ui.js? Maybe a separate file for extensions would be better (to be able to exclude core files if needed)?No, because they contain PrimeFaces extensions
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
That is what I initially thought but was worried the version that come bundled with primefaces will have modifications.Maybe you can create a custom JSF ResourceHandler to point resource urls to another server in your network so resources and faces requests are handled by different machines. Just an idea.
Are there any that we should know about?
Also there is a yui utilities.js that is downloaded. Is this required, as it takes about 800ms to download
Primefaces version: 3.0-SNAPSHOT
JSF implementation: Mojarra 2.0.4
Server: Glassfish 3.1-beta
JSF implementation: Mojarra 2.0.4
Server: Glassfish 3.1-beta
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
We're replacing YUI with jQuery since one year. For example in 3.0.M2, three more YUI components are replaced by lightweight jQuery code.
We now only have carousel and paginator as YUI which will vanish in the future so we can get rid of utilities.js.
In production, PrimeFaces compresses CSS and JS, JSF caches it and I suggest using GZIP filter to even zip it more.
We now only have carousel and paginator as YUI which will vanish in the future so we can get rid of utilities.js.
In production, PrimeFaces compresses CSS and JS, JSF caches it and I suggest using GZIP filter to even zip it more.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 28 guests