caching is no longer done in the rest layer