Add typescript caching and compression for speed.