All css and all js combine to one file
Autor: József Z.
Visited 1121,
Followers 1,
Udostępniony 0
Hello there,
hope you are all well.
Can I combine in Notepad++ all the CSS to one file + all the JS too to make fewer HTTP requests?
So 'reset.css', 'style.css', 'template.css', 'custom.css' ...etc and all the JavaScript files including the inline JS as well.
Would this work?
And the other thing:
Would be great to add option to rename every object ID, because it is hard to refer to when I want to change something in the code outside the Website X5 editor. I have there 'pluginAppObj_77' or 'imCell_76' or 'imMenuObject_06' and no clue what they are, it needs investigation all the time. Would be great to get chance to rename them with one click in expert mode immediately when I place the object.
Thanks for answer.
Posted on the
If you want to keep the CSS and JS code lean, you are on the wrong track with modular programs of any kind.
The many CSS and JS codes are required so that the large number of modules in modular systems can be combined independently of one another.
If you are already working with code editors such as Notepad++ or Visual Studio Code, then it would probably be better to switch completely, then you will have a lean code.
Or you have to choose the one from the many modular systems that produces the leanest code.