optimized async image downloads and implemented caching