Add async chunk compressing and caching patch