| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Mon, 22 Dec 2025 12:01:04 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100317002459
location: https://web.archive.org/web/20100317002459/https://kangax.github.com/html-minifier/
server-timing: captures_list;dur=0.497305, exclusion.robots;dur=0.039737, exclusion.robots.policy;dur=0.031442, esindex;dur=0.008178, cdx.remote;dur=5.015984, LoadShardBlock;dur=141.077967, PetaboxLoader3.datanode;dur=104.593155, PetaboxLoader3.resolve;dur=6.631414
x-app-server: wwwb-app224-dc8
x-ts: 302
x-tr: 167
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app224; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Mon, 22 Dec 2025 12:01:05 GMT
content-type: text/html
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Wed, 17 Mar 2010 00:24:58 GMT
x-archive-orig-content-length: 7746
x-archive-orig-last-modified: Tue, 16 Mar 2010 15:50:12 GMT
x-archive-orig-connection: close
x-archive-orig-expires: Thu, 18 Mar 2010 00:24:58 GMT
x-archive-orig-cache-control: max-age=86400
x-archive-orig-accept-ranges: bytes
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Wed, 17 Mar 2010 00:24:59 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_14_20100316202444_crawl100-c/51_14_20100317002134_crawl101.arc.gz
server-timing: captures_list;dur=0.622803, exclusion.robots;dur=0.019684, exclusion.robots.policy;dur=0.009573, esindex;dur=0.012731, cdx.remote;dur=40.247266, LoadShardBlock;dur=164.154318, PetaboxLoader3.datanode;dur=177.437901, PetaboxLoader3.resolve;dur=96.925558, load_resource;dur=168.617764
x-app-server: wwwb-app224-dc8
x-ts: 200
x-tr: 421
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
HTML minifier
HTML Minifier (ver. 0.4)
Minifier is very draft and is not yet thoroughly tested. Use at your own risk.
LINT REPORT:
TODO:
- Unit test HTMLLint
- Strip whitespace from attributes where allowed
- Add option to collapse all whitespace to 1 character, instead of completely removing it (to preserve empty text nodes)
- Figure out when it is safe to remove optional closing tags, so that it doesn't affect document tree
- Support IE "Downlevel-revealed Conditional Comments"
- Remove as many empty/blank attributes as possible (not just core ones)
- Parser trips over xml declarations (need to ignore or strip them)
- Generate a report of all applied transformations
- Experiment with web workers (to avoid freezing browser)
- Whitespace is munged in element that's descendant of
pre(e.g.:<pre><code>...</code></pre>)
- HTMLLint: warn about repeating attributes (e.g. multiple styles, classes, etc.)
- HTMLLint: warn about repeating or <br> sequences
- HTMLLint: warn about missing doctype
HTMLMinifier is made by kangax, using tweaked version of HTML parser by John Resig (which, in its turn, is based on work of Erik Arvidsson). Source and bugtracker are hosted on Github.