X-Git-Url: http://git.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fweb%2Fluasrc%2Fhttp.lua;fp=libs%2Fweb%2Fluasrc%2Fhttp.lua;h=4fa6438653d8154d5ab59ac92b7a0a50aa7a2e91;hp=e26b3b5dbb777adcd5193a35e5044ea1d7ceb0a5;hb=0e1ec77d17f262c20d87d3e289a67cd9dc4ba10e;hpb=7590274b21da38452bb4a4ad34b3ddf27385483e diff --git a/libs/web/luasrc/http.lua b/libs/web/luasrc/http.lua index e26b3b5dbb..4fa6438653 100644 --- a/libs/web/luasrc/http.lua +++ b/libs/web/luasrc/http.lua @@ -211,6 +211,7 @@ function write(content, src_err) end if not context.headers["cache-control"] then header("Cache-Control", "no-cache") + header("Expires", "0") end