I created this small patch to speed up my gallery index page with
12522 images in 377 albums. It just creates a cache file for the
I attached a new AlbumDB class that has to be appended to the
classes/AlbumDB.php file. It just overrides the class constructor and
the save method. For it to work the original AlbumDB class in the
file needs to be renamed to AlbumDBorig.