Add query strings to JS files to bypass caching

As of lbrynet 0.6.4 we're giving the right headers for JS files, so
we only need a fixed query string to force a new load once.
This commit is contained in:
Alex Liebowitz 2016-10-10 00:26:10 -04:00
parent b8e3ad93ac
commit 80fd456e04

50
dist/index.html vendored
View file

@ -25,30 +25,30 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/6.7.4/polyfill.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/6.7.4/polyfill.js"></script>
<script src="./js/mediaelement/jquery.js"></script> <script src="./js/mediaelement/jquery.js"></script>
<script src="./js/mediaelement/mediaelement-and-player.min.js"></script> <script src="./js/mediaelement/mediaelement-and-player.min.js"></script>
<script src="./js/lbry.js"></script> <script src="./js/lbry.js?i=0"></script>
<script src="./js/lighthouse.js"></script> <script src="./js/lighthouse.js?i=0"></script>
<script src="./js/component/common.js"></script> <script src="./js/component/common.js?i=0"></script>
<script src="./js/component/form.js"></script> <script src="./js/component/form.js?i=0"></script>
<script src="./js/component/link.js"></script> <script src="./js/component/link.js?i=0"></script>
<script src="./js/component/menu.js"></script> <script src="./js/component/menu.js?i=0"></script>
<script src="./js/component/header.js"></script> <script src="./js/component/header.js?i=0"></script>
<script src="./js/component/drawer.js"></script> <script src="./js/component/drawer.js?i=0"></script>
<script src="./js/component/splash.js"></script> <script src="./js/component/splash.js?i=0"></script>
<script src="./js/component/load_screen.js"></script> <script src="./js/component/load_screen.js?i=0"></script>
<script src="./js/page/discover.js"></script> <script src="./js/page/discover.js?i=0"></script>
<script src="./js/page/settings.js"></script> <script src="./js/page/settings.js?i=0"></script>
<script src="./js/page/help.js"></script> <script src="./js/page/help.js?i=0"></script>
<script src="./js/page/watch.js"></script> <script src="./js/page/watch.js?i=0"></script>
<script src="./js/page/report.js"></script> <script src="./js/page/report.js?i=0"></script>
<script src="./js/page/my_files.js"></script> <script src="./js/page/my_files.js?i=0"></script>
<script src="./js/page/publish.js"></script> <script src="./js/page/publish.js?i=0"></script>
<script src="./js/page/start.js"></script> <script src="./js/page/start.js?i=0"></script>
<script src="./js/page/claim_code.js"></script> <script src="./js/page/claim_code.js?i=0"></script>
<script src="./js/page/referral.js"></script> <script src="./js/page/referral.js?i=0"></script>
<script src="./js/page/wallet.js"></script> <script src="./js/page/wallet.js?i=0"></script>
<script src="./js/page/show.js"></script> <script src="./js/page/show.js?i=0"></script>
<script src="./js/page/wallet.js"></script> <script src="./js/page/wallet.js?i=0"></script>
<script src="./js/app.js"></script> <script src="./js/app.js?i=0"></script>
<script src="./js/main.js"></script> <script src="./js/main.js?i=0"></script>
</body> </body>
</html> </html>