webmcp

view framework/env/request/set_cache_time.lua @ 382:810c020b0da4

Reverted changes to mondelefant_result_index and mondelefant_result_newindex C-functions (proxying of JSON document)
author jbe
date Mon Nov 16 18:31:49 2015 +0100 (2015-11-16)
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