DEV Community

Discussion on: Do we really need to minify everything?

Collapse
 
waylonwalker profile image
Waylon Walker

There are a number of minifiers in most languages, though I think it would be hard to implement inside inline <script /> tags. If it's just a few lines don't worry. If it grows, it's not to hard to pull it into its own .js file, minify it to .min.js then load that.

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

Maybe, but even the most popular WordPress doesn't seem to minify anything...

What are the tools most popular for Django devs use, for example? I'd like to hear that.

Collapse
 
waylonwalker profile image
Waylon Walker

I don't know about Django but searching minify js with python has a number of possible options. Maybe someome with more Django experience will chime in