Add HTTP caching and json caching