added TIMEOUT to caching, and GZip middleware