Bug description
I was cleaning up by computer's drive and noticed a 542MiB directory in /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features which only contains a bunch of GIF files, many of them are identical copies e.g. automated-dashboards.gif and complete-picture.gif.
Judging from the directory name I assume these are only used in some kind of landing page or features highlight page, so I'm not sure if they're needed at all. If they're really needed I suggest reducing the size of them by using something like animated AVIF. Converting the GIFs to AVIF from my testing could result in over 50x reduction in file sizes (542.5MiB -> 9.9MiB).
Expected behavior
There shouldn't be a 500MB+ directory containing GIFs that aren't essential for the UI to work.
Steps to reproduce
- Run
du -h /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/*
- Run
sha256sum /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/* to get the hashes
Example output:
$ du -h /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/*
27M /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/ai-troubleshooting.gif
41M /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/automated-dashboards.gif
41M /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/complete-picture.gif
41M /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/container-visibility.gif
41M /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/energy-efficient.gif
41M /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/integrations.gif
41M /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/intelligent-alerts.gif
41M /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/kubernetes-visibility.gif
9.3M /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/lightweight-agent.gif
9.9M /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/metrics-logs.gif
8.9M /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/one-second-granularity.gif
41M /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/open-source.gif
7.9M /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/quick-install.gif
11M /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/quick-install2.gif
41M /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/reduce-downtime.gif
41M /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/reduce-mttr.gif
41M /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/research-confirmed.gif
5.6M /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/secure.gif
6.8M /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/secure2.gif
6.8M /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/secure3.gif
3.0M /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/zero-config.gif
$ sha256sum /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/*
457a35f686c9e46eb2753c5ba4f127fdad2072074eade74e302a33cd15069655 /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/ai-troubleshooting.gif
5afbe10ef9ef177219a2cb98a52b3fdf4c2901da9f08f9646a90b56f58c2a16d /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/automated-dashboards.gif
5afbe10ef9ef177219a2cb98a52b3fdf4c2901da9f08f9646a90b56f58c2a16d /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/complete-picture.gif
5afbe10ef9ef177219a2cb98a52b3fdf4c2901da9f08f9646a90b56f58c2a16d /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/container-visibility.gif
5afbe10ef9ef177219a2cb98a52b3fdf4c2901da9f08f9646a90b56f58c2a16d /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/energy-efficient.gif
5afbe10ef9ef177219a2cb98a52b3fdf4c2901da9f08f9646a90b56f58c2a16d /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/integrations.gif
5afbe10ef9ef177219a2cb98a52b3fdf4c2901da9f08f9646a90b56f58c2a16d /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/intelligent-alerts.gif
5afbe10ef9ef177219a2cb98a52b3fdf4c2901da9f08f9646a90b56f58c2a16d /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/kubernetes-visibility.gif
91f321b3e04f138527d13c392a574287e3ac00cd3f3cc0eb14f6285efd077d21 /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/lightweight-agent.gif
9b2b3cf80cb0b02a11badc561b4891b4e167b876c3ecc679c256287b3dd02f59 /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/metrics-logs.gif
c01f2398f8cab80dbffc1ffdd87dd156c766878429dca8aa081cfe8c807ffb36 /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/one-second-granularity.gif
5afbe10ef9ef177219a2cb98a52b3fdf4c2901da9f08f9646a90b56f58c2a16d /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/open-source.gif
72c2f71e79bedddb8ea3a2bbc035213a29d14d449a7b7eb249cb2c2ecd2d94b8 /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/quick-install.gif
18db5ea30c0e9111bdaf3ce550bf35275a01a37ac7a25dfbb722c175d402c306 /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/quick-install2.gif
5afbe10ef9ef177219a2cb98a52b3fdf4c2901da9f08f9646a90b56f58c2a16d /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/reduce-downtime.gif
5afbe10ef9ef177219a2cb98a52b3fdf4c2901da9f08f9646a90b56f58c2a16d /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/reduce-mttr.gif
5afbe10ef9ef177219a2cb98a52b3fdf4c2901da9f08f9646a90b56f58c2a16d /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/research-confirmed.gif
84064c8327ddebd3ba25f127b1b274afcbbcb1d1e07c8bc706281a2203735610 /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/secure.gif
854f243167f8f1b8dc5389e4f9169690ca385cceb05f99001909c6adb0017f6f /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/secure2.gif
3b14d1a88dbfd377881f2dc5ba72354526a5b7e29a68d8b45a0a83eed38cfb9b /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/secure3.gif
41a9abc6fe45c4237e0730621ecdc51f48bc9cba275f02f2ad3c50df1980a6d8 /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/zero-config.gif
Screenshots
Error Logs
No response
Desktop
OS: Fedora 43
Browser: Firefox
Browser Version: 150.0
Additional context
No response
Bug description
I was cleaning up by computer's drive and noticed a 542MiB directory in
/opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/featureswhich only contains a bunch of GIF files, many of them are identical copies e.g.automated-dashboards.gifandcomplete-picture.gif.Judging from the directory name I assume these are only used in some kind of landing page or features highlight page, so I'm not sure if they're needed at all. If they're really needed I suggest reducing the size of them by using something like animated AVIF. Converting the GIFs to AVIF from my testing could result in over 50x reduction in file sizes (542.5MiB -> 9.9MiB).
Expected behavior
There shouldn't be a 500MB+ directory containing GIFs that aren't essential for the UI to work.
Steps to reproduce
du -h /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/*sha256sum /opt/netdata/usr/share/netdata/web/v3/static/img/onboarding/features/*to get the hashesExample output:
Screenshots
Error Logs
No response
Desktop
OS: Fedora 43
Browser: Firefox
Browser Version: 150.0
Additional context
No response