The SC homepage has nearly 60 HTTP Requests on load. This makes page loading slow.
It seems that for the client-side JS, it is quite modular. Which is good for maintainability but poor for pageload performance.
Of course you know about minifying and gzipping. It might also be nice to include a super js file that would be a pre-minified and combined version of:
which could end up being:
Then just add your skin and you're done.
But the JS is by far not the worst offender...it's the skin images. Perhaps as a compile-time step, you could spritify the skin images down to 1 request per widget instead of 42 for the button alone. This might also be added to a compile-time step.
It seems that for the client-side JS, it is quite modular. Which is good for maintainability but poor for pageload performance.
Of course you know about minifying and gzipping. It might also be nice to include a super js file that would be a pre-minified and combined version of:
Code:
<script src="smartclientSDK/isomorphic/system/modules/ISC_Core.js"></script> <script src="smartclientSDK/isomorphic/system/modules/ISC_Foundation.js"></script> <script src="smartclientSDK/isomorphic/system/modules/ISC_Containers.js"></script> <script src="smartclientSDK/isomorphic/system/modules/ISC_Grids.js"></script> <script src="smartclientSDK/isomorphic/system/modules/ISC_Forms.js"></script> <script src="smartclientSDK/isomorphic/system/modules/ISC_DataBinding.js"></script>
Code:
<script src="smartclientSDK/isomorphic/system/modules/ISC_All.js"></script>
But the JS is by far not the worst offender...it's the skin images. Perhaps as a compile-time step, you could spritify the skin images down to 1 request per widget instead of 42 for the button alone. This might also be added to a compile-time step.
Comment