various micro-optmizations in async, caching and static file serving