Adding StripAnalyticsCookies middleware.
Enabling caching time to be overridden with env param of CACHE_MIDDLEWARE_SECONDS.