Klaro library is way too large

Created on 23 January 2025, 7 months ago

Problem/Motivation

The other Klaro module has made some performance adjustments in πŸ› Klaro library seems way too large? Active which we probably would like to follow as well.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany hchonov πŸ‡ͺπŸ‡ΊπŸ‡©πŸ‡ͺπŸ‡§πŸ‡¬

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @hchonov
  • leymannx Berlin

    Looks like they switched to using the no translation no CSS lib by default. They provide their own CSS and have Drupal take care of translations. Since our Simple Klaro module here allows you to switch the library yourself, anybody could take care of it themselves, I guess.

    But let's maybe retitle this issue to a solvable task: Observe how making no translations no css library the default impacts performance and find a way to ship default CSS and translations.

    Otherwise we need proof at least minimal for this statement: Klaro library is way too large. What does that mean? What is large? What is small? What is acceptable?

Production build 0.71.5 2024