X-Git-Url: http://git.plutz.net/?p=cgilite;a=blobdiff_plain;f=page.sh;h=def728041a6cd837d2d443bcc9ae53a8e72c0088;hp=9b3b10c48d81f7a3ba17487bfa0f380ea378f8e5;hb=6a7af87c40b6f7394cc63a885276dd1a13b1e313;hpb=147a3ae4c390dfc186f25b0aba267d7ff23b2151 diff --git a/page.sh b/page.sh index 9b3b10c..def7280 100755 --- a/page.sh +++ b/page.sh @@ -27,5 +27,7 @@ BODY="${BODY:-${_EXEC}/templates/${PAGE}.html.sh}" . "${_EXEC}/pages/${PAGE}.sh" +# prevent browsers from caching generated pages +printf "Cache-Control: no-cache, no-store, must-revalidate\r\nPragma: no-cache\r\nExpires: 0\r\n" printf "Content-Type: text/html;charset=utf-8\r\n\r\n" . "${_EXEC}/templates/frame.html.sh"