Module: check_mk
Branch: master
Commit: d2be3761d9120a71ab197588edd7417f2c672988
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d2be3761d9120a…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Sep 28 15:13:56 2012 +0200
Revert "FIX: Not caching frameset page to prevent problems with login/logout
code"
This reverts commit e23b1590a631e862dfe50d9476b1cb8ec9fee6a3.
---
ChangeLog | 1 -
web/htdocs/main.py | 1 +
2 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index d1911b4..ae1d0c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,7 +11,6 @@
information for a specific list of hosts or aggregation groups.
* BI: Added new config option bi_compile_log to collect statistics about
aggregation compilations
- * FIX: Not caching frameset page to prevent problems with login/logout code
* FIX: Fixed releasing of locks and livestatus connections when logging out
1.2.0p3:
diff --git a/web/htdocs/main.py b/web/htdocs/main.py
index 23e47bb..4b25d9e 100644
--- a/web/htdocs/main.py
+++ b/web/htdocs/main.py
@@ -28,6 +28,7 @@ import defaults, config
def page_index():
start_url = html.var("start_url", config.start_url)
+ html.req.headers_out.add("Cache-Control", "max-age=7200,
public");
if "%s" in config.page_heading:
heading = config.page_heading % (defaults.omd_site or _("Multisite"))
else: