Middleware to disable client-side caching