This document explains all middleware components that come with Kay. For information on how how to use them and how to write your own middleware, see the Middleware.
Enable the site-wide cache. If these are enabled, each Kay-powered page will be cached for as long as the settings.CACHE_MIDDLEWARE_SECONDS setting defines.
Enables session support. See the Using session.
Adds the user attribute, representing the currently-logged-in user, to every incoming Request object. See Using authentication.