kestra-io / kestra

Infinitely scalable, event-driven, language-agnostic orchestration and scheduling platform to manage millions of workflows declaratively in code.
https://kestra.io
Apache License 2.0
7.57k stars 462 forks source link

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

Open anna-geller opened 3 months ago

anna-geller commented 3 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 3 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?