-
Type: Sub-task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 7.4
-
Fix Version/s: 7.10
-
Component/s: Themes (deprecated)
-
Tags:
-
Sprint:nxNag Sprint 7.4.2, nxNag Sprint 7.4.3, nxNag Sprint 7.4.4, nxNag Sprint 7.4.5, nxNag Sprint 7.10.1
Some javascript files do not benefit from a compressed version (see NXP-18166) but some could be minified too:
Audits from Chrome:
default@view_domains could save ~47.7 KB
jsf.js.faces could save ~26.3 KB
fixviewstate.js.faces could save ~3.6 KB
jquery.js could save ~94.8 KB
packed.js could save ~272 KB
widget-utils.js.faces could save ~2.5 KB
select2.js.faces could save ~79.9 KB
fixmultipartajax.js.faces could save ~688 B
tinymce.js could save ~612 KB
tinymce_init.js could save ~1.9 KB
jquery.konami.js could save ~700 B
interface.js could save ~7.7 KB
skinning.css could save ~1.1 KB
packed.css could save ~43.4 KB
nuxeo-suggestbox.js.faces could save ~561 B
nuxeo-select2.js.faces could save ~9.8 KB
Page Speed from Chrome:
Minifying http://localhost:8080/nuxeo/tinymce/tinymce.js could save 469.5KiB (51% reduction). See optimized version.
Minifying http://localhost:8080/nuxeo/javax.faces.resource/select2.js.faces?ln=org.nuxeo.select2 could save 59.5KiB (50% reduction). See optimized version.
Minifying http://localhost:8080/nuxeo/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.5.0.Alpha3/PackedCompressed/packed/packed.js could save 10.7KiB (3% reduction). See optimized version.
Minifying http://localhost:8080/nuxeo/javax.faces.resource/nuxeo-select2.js.faces?ln=org.nuxeo.select2 could save 5.0KiB (35% reduction). See optimized version.
Minifying http://localhost:8080/nuxeo/javax.faces.resource/fixviewstate.js.faces?ln=org.nuxeo.jsf could save 3.6KiB (66% reduction). See optimized version.
Minifying http://localhost:8080/nuxeo/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.5.0.Alpha3/PackedCompressed/org.richfaces/jquery.js could save 3.0KiB (3% reduction). See optimized version.
Minifying http://localhost:8080/nuxeo/javax.faces.resource/widget-utils.js.faces?ln=org.nuxeo could save 1.5KiB (41% reduction). See optimized version.
Minifying http://localhost:8080/nuxeo/tinymce/tinymce_init.js could save 1.1KiB (39% reduction). See optimized version.
Minifying http://localhost:8080/nuxeo/seam/resource/remoting/interface.js?previewActions&clipboardActions&FileManageActions&workspaceActions&documentActions&popupHelper could save 1016B (9% reduction). See optimized version.