Simple middleware for Express route caching with a given TTL (in seconds)