kestra-io / kestra

:zap: Workflow Automation Platform. Orchestrate & Schedule code in any language, run anywhere, 500+ plugins. Alternative to Zapier, Rundeck, Camunda, Airflow...
https://kestra.io
Apache License 2.0
12.66k stars 1.09k forks source link

Speed up loading of plugin icons (perhaps add caching?) in the Plugins UI #3869

Open anna-geller opened 5 months ago

anna-geller commented 5 months ago

Describe the issue

See https://share.descript.com/view/Kqgjrr0M1o2

image

When you do a kestra demo, the icons that don't load at first give the impression that something isn't working.

Environment

MilosPaunovic commented 5 months ago

I did a bit of digging around this one and it turns out that the biggest issue which slows everything down is the plugins/icons/groups endpoint, which takes approximately 2 seconds to complete every time.

image

Could we check with someone on the BE team how is this implemented and could we improve the response time?