I have a bunch of directories with a variable number of image files in them, ranging from a few 10s to over 8k
I use viewnior to look at particular files in these dirs from time to time, and if it happens to be a directory with many files, viewnior takes a long time (maybe up to a minute) to open, but then if I access that directory again at a later date to view a different file, it will open instantly.
(I also have dirs with many large json files in and don't see the same issue when opening them with a text editor or jq or python or whatever)
So I'm guessing there is some cacheing going on that isn't kernel-related, but I can't seem to find where the cache is located.
Anyone know what's going on or how to speed viewnior up when accessing a large directory for the first time?