Just an FYI have noticed that when I delete albums or images nothing takes place in the cache and at times this can cause confusion if you are trying to clean up a specific album. Say you rebuild an album with a different set of images, the cache will be filled with a lot extraneous images.
Over years without maintenance, creates a cleanup job.