Gravatar for

Question by erkany, Aug 10, 2015 10:22 AM

Is it possible to lazy load CoveoJsSearch.WithDependencies.min.js Javascript file?

We are working on improving our page load times and realized this JS file is about 1MB.

Any insights on how to improve the page load speed?

1 Reply
Gravatar for

Answer by Simon, Aug 10, 2015 11:58 AM

You should always use the .min version of the JS dependencies.

Also, If you added custom JavaScript or you are loading additional library. Be sure to always load your JavaScript at the bottom of your page.


Gravatar for

Comment by olamothe, Aug 10, 2015 3:18 PM

Also, if you are not already using gzip compression for the scripts/css, you should look into that to help speed up page load time.

Ask a question