deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rafab...@apache.org
Subject deltaspike git commit: DELTASPIKE-810 - Added no-cache headers to template
Date Tue, 30 Dec 2014 17:35:36 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master 515137f9e -> 5c82e1a7b


DELTASPIKE-810 - Added no-cache headers to template


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/5c82e1a7
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/5c82e1a7
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/5c82e1a7

Branch: refs/heads/master
Commit: 5c82e1a7b7c0b030a9a1b2b53054be5a70c3adfb
Parents: 515137f
Author: Rafael Benevides <rafabene@gmail.com>
Authored: Tue Dec 30 15:35:21 2014 -0200
Committer: Rafael Benevides <rafabene@gmail.com>
Committed: Tue Dec 30 15:35:21 2014 -0200

----------------------------------------------------------------------
 template/document.html.erb | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/5c82e1a7/template/document.html.erb
----------------------------------------------------------------------
diff --git a/template/document.html.erb b/template/document.html.erb
index 1c07a9d..118fc9f 100644
--- a/template/document.html.erb
+++ b/template/document.html.erb
@@ -5,6 +5,10 @@
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="deltaspike-generate-pages">
 <meta name="author" content="chm">
+<!-- No caching headers -->
+<meta http-equiv="cache-control" content="no-cache" />
+<meta http-equiv="pragma" content="no-cache" />
+<meta http-equiv="expires" content="-1" />
 
 <title><%= document.name %></title>
 


Mime
View raw message