jbe@291: --[[-- jbe@291: request.allow_caching() jbe@291: jbe@291: Includes a "Cache-Control" header in the response that marks the content as cachable. jbe@291: jbe@291: --]]-- jbe@291: jbe@291: function request.allow_caching() jbe@291: request.configure(function() jbe@291: request._cache = true jbe@291: end) jbe@291: end