You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2014/02/03 11:12:39 UTC
[15/22] couchdb commit: updated refs/heads/paginate-api-options to
5d2a6f9
Add Cachebusting to building new releases of fauxton
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/be3bd20b
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/be3bd20b
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/be3bd20b
Branch: refs/heads/paginate-api-options
Commit: be3bd20b2fd665d42bb49c66be52eb693f7f5109
Parents: 4f2e502
Author: suelockwood <de...@apache.org>
Authored: Thu Jan 30 13:32:45 2014 -0500
Committer: suelockwood <de...@apache.org>
Committed: Thu Jan 30 13:32:45 2014 -0500
----------------------------------------------------------------------
src/fauxton/assets/index.underscore | 4 ++--
src/fauxton/settings.json.default | 6 ++++--
2 files changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/be3bd20b/src/fauxton/assets/index.underscore
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/index.underscore b/src/fauxton/assets/index.underscore
index cbf5bd6..396cce3 100644
--- a/src/fauxton/assets/index.underscore
+++ b/src/fauxton/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/blob/be3bd20b/src/fauxton/settings.json.default
----------------------------------------------------------------------
diff --git a/src/fauxton/settings.json.default b/src/fauxton/settings.json.default
index e817b79..1bc88f6 100644
--- a/src/fauxton/settings.json.default
+++ b/src/fauxton/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/",