Caching and compression middleware for Node.js applications