I deleted all cached images and then explored an album or two to see what cached images would be produced. Then I created a set of 'Image cache sizes' to match all that were produced on the fly as a result of my viewing. My goal, of course, was to rely on cached images to the greatest extent possible. And the disk consumption was not an issue, it was ok that many of the cached images would never be used (i.e. producing both portrait and landscape sizes when each image would actually only need one or the other).
That was great until I realized that photos in other albums may have been produced at different X*Y resolutions and would therefore result in additional 'Image cache sizes' needed.
It would be nice, and perhaps quite challenging, to be able to generate the image caches based on the theme and it's current image size settings. IOW, rather than create all possible sizes that might be needed, use the existing setup and the characteristics of each photo in the gallery (or maybe just by album) to predetermine what cache sizes would be needed and produce only those cache files.
This would be particularly useful for those that have many different photo sizes that would result in the need for many slightly different cache file characteristics.
If it is too difficult to predetermine cache file requirements from the perspective of the theme and current configuration, what about the use of a 'hints file' at the gallery or sub-album level that could contain hints for each photo X*Y size. Like:
[5432x3678]
# size,w,h,cw,ch,thumb
,580,387,,,
,40,27,,,thumb
100,,,,,,thumb
[3678x5432]
,387,580,,,
,27,40,,,thumb
100,,,,,,thumb
[2272x1704]
,580,435,,,
,40,30,,,thumb
100,,,,,,thumb
These files could be used in conjunction with each photos X*Y characteristics to determine which 'cached images' should be produced for each photo.