Answer the question
In order to leave comments, you need to log in
HTML + JS optimization and modular loading
Hello! We are making one portal that is very heavy in terms of functionality. In order for everything to work as it should, 30 js files are connected. Used by dojo, jquery, kendo. It is not possible to stop at one. How can such code be optimized, is it possible to make it so that with one event or function call, its own js is connected, and not loaded every time?
Answer the question
In order to leave comments, you need to log in
They won't load every time. The second time the browser will take it from the cache.
As an option, load everything from the CDN, there will be a chance that some of your libraries are already on your client.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question