...
- Ensure your custom styles and scripts have been written to best coding practices:
- Efficient coding with no unnecessary elements.
- Do not add too many widgets and independent scripts on the one page
- Utilise the Scripts and styles function in the CMS where possible instead of uploading each JavaScript and referencing it in a HTML Snippet widget. Scripts and styles has been designed to maximise efficiency by:
- bundling related scripts and styles into one widget and called as a unit instead of multiple units,
- allowing you to disable unneeded scripts and styles by easily turning them off (just untick the checkbox next to the widget in the page layout),
- taking advantage of layers and only serving up the Scripts and Styles if relevant for that audience / functionality.
What else you can do:
- If you need deeper analysis and technical expertise, book a time with Commerce Vision's Professional Services to discuss what we can do to help.
- We can also implement features we have specially created to minimise JavaScript render-blocking on your web pages so that they appear more quickly to users.
...