Questions tagged [jscompress]

An online JavaScript compressor that uses UglifyJS2 for all compression.

24 questions
54
votes
17 answers

What do you use to minimize and compress JavaScript libraries?

What do you use to minimize and compress JavaScript libraries?
flybywire
  • 261,858
  • 191
  • 397
  • 503
38
votes
12 answers

What are some good css and js minimizers for production code?

I'm looking for some applications or websites that minimize css and js files. Ideally, they could batch them all or if not, one at a time.
Brian
  • 4,931
  • 3
  • 32
  • 55
24
votes
18 answers

What is the best method to reduce the size of my Javascript and CSS files?

When working with large and/or many Javascript and CSS files, what's the best way to reduce the file sizes?
nickf
  • 537,072
  • 198
  • 649
  • 721
13
votes
6 answers

combine javascript files at deployment in python

I'm trying to reduce the number of scripts included in our website and we use buildout to handle deployments. Has anybody successfully implemented a method of combining and compressing scripts with buildout?
Diarmuid Bourke
  • 464
  • 4
  • 13
12
votes
5 answers

Combining and Compressing multiple JavaScript files in php

I am working on a PHP app that requires eight javascript files (hello web2.0). I am wondering what the best way combine and compress all of the files dynamically. Am I phrasing the question correctly? The end result is that I would include one .js…
superUntitled
  • 22,351
  • 30
  • 83
  • 110
12
votes
8 answers

Which javascript minification library produces better results?

Between Yahoo! UI Compressor, Dean Edwards Packer and jsmin, which produces better results, both in terms of resulting footprint and fewer errors when obfuscating.
lsdr
  • 1,245
  • 1
  • 15
  • 28
12
votes
7 answers

HTML + JavaScript + CSS compact tool

I need a tool which can minify, optimize and munge many files of those possible types HTML (minify only) JavaScript (minify, optimize and munge) CSS (minify) The final result should be one HTML file only with all JavaScript and CSS embedded or in…
Gad D Lord
  • 6,620
  • 12
  • 60
  • 106
8
votes
3 answers

Ways to compress/minify javascript files

Duplicate: Best javascript compressor Which javascript minification library produces better results? What is the best method to reduce the size of my Javascript and CSS files? So far I have seen these tools to compress javascript…
dev.e.loper
  • 35,446
  • 76
  • 161
  • 247
7
votes
7 answers

How to minify jquery files?

I am using jquery and I got a couple plugins that don't offer a minified version. So I want to take the full version and minfiy it but all the sites I have found that you input your javascript and it minifies it breaks the plugin. Like it must strip…
chobo2
  • 83,322
  • 195
  • 530
  • 832
6
votes
4 answers

What standalone JavaScript compressing tools are there?

Currently I am using the site at http://javascriptcompressor.com/ to compress my JavaScript. Is there any other standalone JavaScript compressing tool?
Kombuwa
  • 1,613
  • 4
  • 20
  • 35
5
votes
3 answers

JavaScript stops working when I compress my script

I want to compress my 2000+ lines of javascript and I have tested both http://dean.edwards.name/packer/ and http://closure-compiler.appspot.com/home. But in both cases, the compressed script gives me errors. An example of an error is…
Steven
  • 19,224
  • 47
  • 152
  • 257
5
votes
1 answer

Makefile which compresses javascript

I want to compress javascript in yui compressor, How to write Make file for compress javascript. Because grammar is difficult and does not understand it, Could you give me a sample Makefile for me?
freddiefujiwara
  • 57,041
  • 28
  • 76
  • 106
3
votes
4 answers

jQuery/JavaScript - performance-issue when having a lot of small .js-Files?

i've got a site with a lot of referenced .js-Files; those are rather small files, but I want to keep my methods separated by topic/functionality. Is it better to keep all the methods in one .js-File or is it no problem to have many (~ 20 - 30) small…
swalkner
  • 16,679
  • 31
  • 123
  • 210
2
votes
4 answers

What is the best/fastest way to include my external javascripts? I use jQuery

I am nearly done with my site and am optimising it at the moment; I would like to know the best and fastest way to include all my external javascript files. I want the site to download as quick as possible, but it has quite a few (10 or so) external…
Zander
  • 2,471
  • 3
  • 31
  • 53
2
votes
5 answers

At what stage do you compress/minimize javascript?

When building, or "on the fly" (perhaps with caching) when the users request pages. And what are the dis/advantages of each.
flybywire
  • 261,858
  • 191
  • 397
  • 503
1
2