klaro-js
klaro-js copied to clipboard
Klaro library files are much larger than documented
https://github.com/klaro-org/klaro-js homepage / README.md says:
Small footprint: The minified+gzipped JS is only 37 kB and contains everything that is required, including style sheets and translations.
but looking at the file sizes - raw and uncompressed, they are much larger:
Another point I don't really understand is why klaro-no-translations-no-css.js is not smaller than klaro-no-css.js?
I would expect klaro-no-translations-no-css.js to have the smallest file size?
Is there any further room for optimizations / minifications? Currently, it's one of the largest JS files used in projects.
Please note that before setting this fixed, the real file sizes on the module page should be updated!
See also #530