Enable caching and compressing.