Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.1-SNAPSHOT
-
None
-
None
Description
I did some profiling on our scripts today, and found two hotspots in the script include sections both for dev and for deployment project stage.
For dev the jsf-uncompressed.js was constantly loaded if embedded in ppr (and to the worse
the subsequent dynamic loads were triggered as well), the same issue except for the subsequent reloads
also persists for production.
I also added some forEach fallbacks for arrays on browsers which already have Array.prototype.forEach implemented.
This is a minor improvement but helps with readability.
The changes will be committed tomorrow.