Add HTTP caching to API