Add caching for listing photos in a year