trying to cache photo paths