www: Cache busting of static files
Introduced cache busting of static files by adding a query containing the
NIPAP version to URLs.
<meta charset="utf-8">
<link rel="stylesheet" href="/jquery-ui-1.10.0.custom.css">
<link rel="stylesheet" href="/bootstrap.min.css">
- <link rel="stylesheet" href="/nipap.css">
+ <link rel="stylesheet" href="/nipap.css?v={{ c.www_version }}">
<link rel="stylesheet" href="/jquery.tagit.css">
<link rel="stylesheet" href="/ng-tags-input.min.css">
<script src="/angular-1.5.3.min.js"></script>
<script src="/angular-route-1.5.3.min.js"></script>
<script src="/ui-bootstrap-tpls-1.3.3.min.js"></script>
- <script src="/app.js"></script>
- <script src="/filters.js"></script>
- <script src="/services.js"></script>
- <script src="/directives.js"></script>
- <script src="/controllers.js"></script>
+ <script src="/app.js?v={{ c.www_version }}"></script>
+ <script src="/filters.js?v={{ c.www_version }}"></script>
+ <script src="/services.js?v={{ c.www_version }}"></script>
+ <script src="/directives.js?v={{ c.www_version }}"></script>
+ <script src="/controllers.js?v={{ c.www_version }}"></script>
<script src="/jquery-1.9.1.min.js"></script>
<script src="/jquery.url.js"></script>
<script src="/jquery-ui-1.10.0.custom.min.js"></script>
<script src="/tag-it.min.js" type="text/javascript" charset="utf-8"></script>
<script src="/ng-tags-input.min.js"></script>
<script src="/Chart.min.js" type="text/javascript" charset="utf-8"></script>
- <script src="/nipap.js"></script>
+ <script src="/nipap.js?v={{ c.www_version }}"></script>
<script>
$(function() {
