caching for posters and photos generation