couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [41/52] [abbrv] fauxton commit: updated refs/heads/import-master to d11b90b
Date Wed, 12 Feb 2014 06:20:35 GMT
Add Cachebusting to building new releases of fauxton


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/31e99932
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/31e99932
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/31e99932

Branch: refs/heads/import-master
Commit: 31e99932814a35414fd2d47c155ed3a68fb1506f
Parents: 040e38d
Author: suelockwood <deathbear@apache.org>
Authored: Thu Jan 30 13:32:45 2014 -0500
Committer: suelockwood <deathbear@apache.org>
Committed: Thu Jan 30 13:32:45 2014 -0500

----------------------------------------------------------------------
 assets/index.underscore | 4 ++--
 settings.json.default   | 6 ++++--
 2 files changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/31e99932/assets/index.underscore
----------------------------------------------------------------------
diff --git a/assets/index.underscore b/assets/index.underscore
index cbf5bd6..396cce3 100644
--- a/assets/index.underscore
+++ b/assets/index.underscore
@@ -24,7 +24,7 @@
   <title>Project Fauxton</title>
 
   <!-- Application styles. -->
-  <link rel="stylesheet" href="<%= css %>">
+  <link rel="stylesheet" href="<%= css %><%=cachebuster%>">
   <% if (base) { %>
   <base href="<%= base %>"></base>
   <% } %>
@@ -42,6 +42,6 @@
   </div>
 
   <!-- Application source. -->
-  <script data-main="/config" src="<%= requirejs %>"></script>
+  <script data-main="/config" src="<%= requirejs %><%=cachebuster%>"></script>
 </body>
 </html>

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/31e99932/settings.json.default
----------------------------------------------------------------------
diff --git a/settings.json.default b/settings.json.default
index e817b79..1bc88f6 100644
--- a/settings.json.default
+++ b/settings.json.default
@@ -23,7 +23,8 @@
         "variables": {
           "requirejs": "/assets/js/libs/require.js",
           "css": "./css/index.css",
-          "base": null
+          "base": null,
+          "cachebuster": ""
         },
         "app": {
           "root": "/",
@@ -37,7 +38,8 @@
         "variables": {
           "requirejs": "./js/require.js",
           "css": "./css/index.css",
-          "base": null
+          "base": null,
+          "cachebuster": "?v1.0"
         },
         "app": {
           "root": "/_utils/fauxton/",


Mime
View raw message