Saturday, November 8, 2014
Online multiple javascript compression tool
Minifying/compressing javascript files has become a standard for a while already when developing websites. It is very important to save as much space as you can and have your users downloading as little as possible to improve the performance of your site.
I don't think you'll find an article out there that denies it.
An important question that arises from this is which compressor/minifier should you use ?
Different famous open source projects use different compressors, and I'm guessing (or at least hoping) they chose them wisely relying on benchmarks they did on their own.
You see, each compressor works differently, so different code bases won't be affected in the same way by different compressors.
In the past I used to manually test my code against different compressors to see which one was best for me. I finally got sick of doing it manually, so decided to look for a tool that will do the job for me. Surprisingly, I didn't find one that did exactly that, so I quickly wrote a script that will do it for me. Then I decided to design a UI for it and put it online for others to enjoy as well.
I present to you : http://compress-js.com
You can copy text, or drag some js files to it, and choose which compressor you want. Or, and this is the default method, choose 'Check them all' which will compress your code using the most popular compressors and show you the results, and the compressed size from all of them. You can download the files directly from the site.
Here's a screenshot :
Currently the site can compress your javascript code with YUI Compressor, UglifyJS, JSMin and Google's Closure Compiler.
If you have any thoughts or suggestions on how to improve, feel free to drop a comment below. :)
Subscribe to:
Post Comments (Atom)
Sorry, the url http://www.compress-js.com/ is not working for me
ReplyDeleteI published the site in a few places and got much more traffic than i expected. The site is back up again. Thanks!
DeleteNot bad. I always used a Wordpress plugin for this since all of my sites are Wordpress anyway, but it's good to know I can compress my JS elsewhere should I ever make a non-Wordpress site!
ReplyDelete- Fred
Another feature of JavaScript to be noted is that it is case sensitive. Any reference to a function or an object in a JavaScript must match the case used to define the function.
ReplyDeleteweb design lessons
A very detailed and useful post! Sure your next post will be as great as this. And if you want to find best premium wordpress templates for any kind of business go here https://wordpresstemplates.ch/
ReplyDeleteI think things like this are really interesting. I absolutely love to find unique places like this. It really looks super creepy though!!
ReplyDeleteartificial intelligence and machine learning course in chennai
machine learning course fees in chennai
machine learning course in chennai
Android training in velachery
PMP training in chennai
It is perfect time to make some plans for the future and it is time to be happy. I’ve read this post and if I could I desire to suggest you few interesting things or tips. Perhaps you could write next articles referring to this article. I want to read more things about it! sito web
ReplyDeleteGreat ¡V I should certainly pronounce, impressed with your site. I had no trouble navigating through all tabs as well as related info ended up being truly easy to do to access. I recently found what I hoped for before you know it at all. Quite unusual. Is likely to appreciate it for those who add forums or anything, website theme . a tones way for your client to communicate. Excellent task.. webflow designers
ReplyDeleteI wanted to say Appreciate providing these details, youre doing a great job with the site... webflow company
ReplyDeleteGreat...
ReplyDeleteCoronavirus Update
Intern Ship In Chennai
Inplant Training In Chennai
Internship For CSE Students
Online Internships
Internship For MBA Students
ITO Internship
I was suggested this website by my cousin. I’m not sure whether this post is written by him as no one else know such detailed about my trouble. You’re wonderful! Thanks! top development companies
ReplyDeleteGreat Article!! I learned something new from your blog. Amazing stuff. I would like to follow your blog frequently. Keep Rocking!!
ReplyDeleteAngular JS Training in Chennai | Certification | Online Training Course | Angular JS Training in Bangalore | Certification | Online Training Course | Angular JS Training in Hyderabad | Certification | Online Training Course | Angular JS Training in Coimbatore | Certification | Online Training Course | Angular JS Training | Certification | Angular JS Online Training Course
These are the worldwide favorable circumstances of internet preparing. In any case, investigate and ensure you pick online courses with the accompanying highlights that offer a customized way to deal with learning: it courses london
ReplyDeleteEthical qualities are the chief factor in social consistency and simultaneously, the best influencer and change.capstone paper writing service
ReplyDeleteAn article writing service will provide the contents of a blog or website through submission of articles. Essay Writing Service
ReplyDeletethe high demand of qualified professionals and lower supply of the same, as per the economic principles, the salary structure would be quite attractive. data science course syllabus
ReplyDeletePositive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. CCBA training
ReplyDeleteWeb specialists need more abilities past those of customary visual craftsmen, though the regular visual creator keeps on discovering answers to correspondence issues by settling on tone, text style, and pictures.Professional graphic design
ReplyDeleteI have read your article couple of times because your views are on my own for the most part. It is great content for every reader. Online Toy shop Nicosia
ReplyDeleteI’m happy I located this blog! From time to time, students want to cognitive the keys of productive literary essays composing. Your first-class knowledge about this good post can become a proper basis for such people. nice one
ReplyDeletedata science course in India
Also, it bodes well. The more individuals you can reach Online, the more clients and customers your business will pull in inside and out. Lead generation
ReplyDeleteI invite you to the page where you can read with interesting information on similar topics. cna classes online in california
ReplyDeleteInterestingly you write, I will address you'll find exciting and interesting things on similar topics. Seo for photography
ReplyDeleteAn insignia or standard broadcasting that you utilize green facilitating offers a prompt expression about your on-line business. It says you care about the climate. Webdesign
ReplyDeleteOff page advancement includes factors that are outside the ability to control of your site. SEO Limburg
ReplyDeleteAivivu - đại lý chuyên vé máy bay trong nước và quốc tế
ReplyDeletevé máy bay đi Mỹ giá bao nhiêu
ve may bay ve quy nhon
vé máy bay từ hải phòng vào sài gòn
vé máy bay hà nội giá rẻ
vietnam airlines quốc tế
taxi đi sân bay
mua combo vinpearl nha trang
Good website! I truly love how it is easy on my eyes it is. I am wondering how I might be notified whenever a new post has been made. I have subscribed to your RSS which may do the trick? Have a great day! Tools for Writers
ReplyDeleteFantastic support. This was perhaps one of the best read on the topic of java scripts though I was on hunt for grabbing some reviews on IT company Toronto to gain business success with the perfect IT support. Hence, diving into the whole coding skills I was impressed how you did the tough job into an ease approach. It's supper. Love it very much literally.
ReplyDeleteThis liberates the programmer to do higher worth testing work like planning better and more complete tests. mélybölcsős fuvarozás Europa-Road Kft.
ReplyDeleteAlthough this is an excellent choice, it has a significant disadvantage. This is the most expensive vacuum in the pool.
ReplyDeletevacuum heads
Cilicon Spark is the best 510 thread vape pen battery for THC and CBD vaping. it is compatible to all 510 thread cartridge, Spark’s reliable quality promise a durable life expectancy. Read more at the best 510 vape battery.
ReplyDeleteESD Wrist Strap is a basic and widely facility in ESD equipment usage, which is very convenient for workers to operate and enables them to ground while working on the Sensitive Electronics. It is compose of wrist loop and grounding wire, the wrist loop is contact with skin directly. Here's information about anti-static wristband, read on to know.
ReplyDeleteI do not see that as the primary reason since we have never had universal health care. Here is what I think are some of the primary reasons for this trend: crisis management training,
ReplyDeleteThank you for sharing a bunch of this quality contents, I have bookmarked your blog. Please also explore advice from my site. I will be back for more quality contents. what is a factoring company
ReplyDeleteI most likely appreciating each and every bit of it. It is an incredible site and decent impart. I need to much obliged. Great employment! You all do an incredible blog, and have some extraordinary substance. Keep doing awesome. upgrad referral code
ReplyDeleteMost health insurance policies cover the services provided at physician clinics. These facilities usually do not charge patients for their services. However, the amount they pay for the service may vary. Some public health clinics charge a small co-insurance, others do not. The latter is the most common type of clinic, and it is usually free. These clinics do not require any income and those who come will be treated They also provide many other healthcare facilities including discounted prices. Read more at doctors.
ReplyDeleteAll our actual intercourse dolls are crafted from containing metallic skeletons and can do all of the movements that real human beings can do. The pores and skin is crafted from silicone or tpe inside the direction of human pores and skin, which makes it softer and in addition practical. At Mailovedoll, we pleasant use the top notch clinical silicone TPE cloth within the marketplace, that may be a modern type of silicone, could be very mild, easy and smooth to clean! Our purpose is to offer the first-class remarkable existence size sex dolls, through the fantastic uncooked cloth to be had. All actual dolls are one hundred% new and shipped right away from the producing facility, and all of merchandise are checked before each shipment. For more information, please visit https://mailovedoll.com/6ye-dolls/.
ReplyDeleteTook me length to door all the explanation, but I actually partook in the article. It ended up being Very respecting me not set in stone to all the analysts here! Its dependably accessible by means of now you can't unmarried-handedly be proficient, however with engaged! Kaspersky Total Security 2019 Key
ReplyDeleteIve been attempting to find a few respectable stuff concerning the challenge and dock't had any good fortune going on till this narrowing, You simply got a subsidiary biggest lover!.. GoodBye Quotes
ReplyDeleteYou have performed a great job on this article. It’s very precise and highly qualitative. You have even managed to make it readable and easy to read. You have some real writing talent. Thank you so much.광주출장아로마
ReplyDelete대전출장아로마
대구출장아로마
부산출장아로마
울산출장아로마
Hi there mates, how is all, and what you desire to say regarding this piece of writing, in my view its genuinely amazing designed for me. buy redhead sexdoll
ReplyDeleteVery interesting blog. Alot of blogs I see these days don't really provide anything that I'm interested in, but I'm most definately interested in this one. Just thought that I would post and let you know.
ReplyDeleteavast secureline vpn full free download