I am looking for an HTML compressor/minimizer written in Javascript. Say, I have a Javascript variable containing some HTML code, I want to pass it to a Javascript function that will remove unecessary spaces, comments, etc... Does such tool exist? I can't find any...
Asked
Active
Viewed 171 times
0
-
It would help if you added "minifier" to your dictionary of search words. – May 14 '13 at 10:43
1 Answers
0
Is there a specific reason for a javascipt minimizer?
If you are worried about your website loading time, then why not try head.js()?
You can see the change if you have a large number of libraries.
But if you have really want to minify, there is AJAX minifier
I used it just now and works wonderful.

A_AR
- 508
- 2
- 6
- 20
-
AJAX Minifier does not compress HTML... This does not answer the question. – Jérôme Verstrynge May 14 '13 at 14:07