reanahub / reana-ui

REANA UI frontend
http://reana-ui.rtfd.io
MIT License
4 stars 33 forks source link

build: consider compressing served static files #328

Closed mdonadoni closed 1 year ago

mdonadoni commented 1 year ago

After adding jsroot to preview ROOT files, JS source files have gotten bigger, see https://github.com/reanahub/reana-ui/pull/326#issuecomment-1564485956. This might get worse in the future when new dependencies will be added to the project.

In that same PR, we have already implemented lazy loading to avoid loading jsroot when not necessary. However, we should also consider compressing static files before serving them: