javascript - How to properly compress Jquery and lots of plugins? -


I am trying to clean a site's JavaScript. I think the title of my site is growing further:

  & lt; Script type = "text / javascript" src = "jquery.base.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" src = "jquery.plugin1.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" src = "jquery.plugin2.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" src = "jquery.plugin3.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" src = "jquery.plugin4.js" & gt; & Lt; / Script & gt;  

I have good information about the negative effects of many requests. Many JSs are embedded in the site, which will require dragging into external files. Can I paste it and run it through some compression or will it cause issues? I hope someone has some similar experience.

I recommend that you see good practices in combination and caching javascript


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -