[tor-commits] [atlas/master] Restrict cache breaker to only Atlas specific resources

irl at torproject.org irl at torproject.org
Wed Nov 15 17:24:35 UTC 2017


commit 99a4fde894f2d53aec2941d6a82df2ee0d569077
Author: Iain R. Learmonth <irl at fsfe.org>
Date:   Wed Nov 15 17:23:40 2017 +0000

    Restrict cache breaker to only Atlas specific resources
---
 index.html | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/index.html b/index.html
index 56d2e6f..cafb8f4 100644
--- a/index.html
+++ b/index.html
@@ -21,12 +21,12 @@
   <meta name="msapplication-square310x310logo" content="https://metrics.torproject.org/images/largetile.png">
 
   <!-- jQuery -->
-  <script src="https://metrics.torproject.org/js/jquery-3.2.1.min.js?v1"></script>
-  <script src="js/jquery.cookieBar.js?v1"></script>
+  <script src="https://metrics.torproject.org/js/jquery-3.2.1.min.js"></script>
+  <script src="js/jquery.cookieBar.js"></script>
 
   <!-- Bootstrap -->
   <link rel="stylesheet" href="css/bootstrap.min.css">
-  <script src="https://metrics.torproject.org/js/bootstrap.min.js?v1"></script>
+  <script src="https://metrics.torproject.org/js/bootstrap.min.js"></script>
 
   <!-- Fonts -->
   <link rel="stylesheet" href="css/font-awesome.min.css">
@@ -34,14 +34,14 @@
 
   <!-- Prism -->
   <link rel="stylesheet" href="css/prism.css">
-  <script src="https://metrics.torproject.org/js/prism.js?v1"></script>
+  <script src="https://metrics.torproject.org/js/prism.js"></script>
 
   <!-- custom styles and javascript -->
   <link rel="stylesheet" href="css/style.css">
-  <script src="https://metrics.torproject.org/js/script.js?v1"></script>
+  <script src="https://metrics.torproject.org/js/script.js"></script>
 
   <!-- Atlas CSS -->
-  <link rel="stylesheet" href="css/atlas.css">
+  <link rel="stylesheet" href="css/atlas.css?v1">
 
 </head>
 
@@ -161,7 +161,7 @@ $('.cookie-message').cookieBar({ closeButton: '.cbc' });
     urlArgs: "v1"
   };
 </script>
-<script data-main="js/main" src="js/libs/require/require.js?v1"></script>
+<script data-main="js/main" src="js/libs/require/require.js"></script>
 
   <div class="container-fluid" id="footer">
 



More information about the tor-commits mailing list