From 1c1992bf20f812bfcacc849d3643bff2c2822d48 Mon Sep 17 00:00:00 2001 From: Daniel Regeci <536331+ovx@users.noreply.github.com> Date: Wed, 14 Aug 2024 14:06:31 -0300 Subject: [PATCH] update readme --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 3dc629c..8d0794f 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,16 @@ See the [configuration](#configuration) below or visit the [website integration See [server documentation](https://altcha.org/docs/server-integration) for more details. +## Bundle Size + +ALTCHA's default bundle is lightweight, combining all assets, including CSS and the JavaScript Web Worker, into a single file. When GZIPped, it totals only 18.35 kB, making ALTCHA’s widget 93% smaller than reCAPTCHA. + +|Distribution|Size (GZIPped)| +|---|---| +|ALTCHA (v0.8.x)|18.35 kB| +|hCaptcha|48 kB| +|reCAPTCHA|270+ kB| + ## Content Security Policy (CSP) The default distribution bundle of the WebComponent includes styles and the worker in a single file. This might cause issues with strict CSP rules. If you require strict CSP compliance, consider using the scripts located in the `/dist_external` directory. For more details, please refer to the [documentation](https://altcha.org/docs/website-integration).