Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Klaro library files are much larger than documented #527

Open
JPustkuchen opened this issue Dec 10, 2024 · 2 comments
Open

Klaro library files are much larger than documented #527

JPustkuchen opened this issue Dec 10, 2024 · 2 comments

Comments

@JPustkuchen
Copy link

JPustkuchen commented Dec 10, 2024

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:
grafik

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.

werk21 added a commit to werk21/klaro-js that referenced this issue Dec 12, 2024
@JPustkuchen
Copy link
Author

Please note that before setting this fixed, the real file sizes on the module page should be updated!

@werk21
Copy link

werk21 commented Dec 16, 2024

See also #530

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants