metadata::custom-icon cache
Use cases
People operate NASs with large datasets such as music folders, tv series, films, photos etc.
When using custom folder icons this can cause nautilus to take upwards for 20 seconds or more to load a folder. (images are stored with the dataset) Loading tonnes of images off a network attached store is slow even on 10gb.
-
large folder/
-
large folder/A
-
large folder/...
-
large folder/Z
-
gio set
large_folder/A metadata::custom-icon file://
large_folder/A/folder.jpg -
gio set $large_folder/... metadata::custom-icon ...
-
gio set
large_folder/Z metadata::custom-icon file://
large_folder/Z/folder.jpg
Desired behaviour
- Faster loading of folders/files when custom icons are being used.
- "gio set" for "metadata::custom-icon" should be configurable.
- Some sort of caching behaviour/option to store copy of image to local home folder (nvme/ssd).
- Similar behaviour as seen with file icons previews in ~/.cache/thumbnails
Benefits of the solution
- Fast loading of folders with icons
Possible drawbacks
- unknown
Edited by Dave