Strong compression of HTML pages with PHP (server-side) and JS (client-side)
PHP JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
old
.gitattributes
.gitignore
LICENCE.md
README.md
index.html
index.php
lightml.js
lightml.php

README.md

lightml

HTML is heavy. Send lightml instead!

Lightml files can be generated with a simple PHP script called on top of your pages.

Lightml files are regular HTML files containing

<!doctype html>
<script src='lightml.js'></script>

followed by lightml code.

lightml.js seamlessly converts the Lightml code in HTML.