Add photo caching