webmcp

view framework/env/request/set_cache_time.lua @ 357:ffdd32b48296

Bugfix in request.get_param_strings{...} which caused an empty table to be returned
author jbe
date Thu Mar 26 20:09:13 2015 +0100 (2015-03-26)
parents fa3a5bba0067
children
line source
1 --[[--
2 request.set_cache_time(
3 seconds -- duration in seconds
4 )
6 Sets the expiration timeout for static content.
8 --]]--
10 function request.set_cache_time(seconds)
11 request.configure(function()
12 request._cache_time = seconds
13 end)
14 end

Impressum / About Us