Commit a940b811 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Revert "append version to frequently changed resources to avoid caching issues"

Cache Busting  via query string is discouraged
This reverts commit 604a5563.
parent 604a5563
Loading
Loading
Loading
Loading
+0 −1
Changes for index.pl: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@ use utf8;
no if $] >= 5.018, warnings => 'experimental::smartmatch';

our $VERSION = qx{git describe --dirty} || '0.05';
chomp $VERSION;

my %default = (
	backend => 'iris',
+4 −4
Changes for templates/layouts/default.html.ep: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -9,16 +9,16 @@
% }


	%= stylesheet "/static/default.css?v=${version}"
	%= stylesheet '/static/default.css'
	%= stylesheet '/static/jquery-ui.min.css'
% my $force_mobile = param('force_mobile') // -1;
% if ($force_mobile == 1 or ($self->browser->mobile and $force_mobile != 0)) {
	%= stylesheet "/static/mobile.css?v=${version}"
	%= stylesheet '/static/mobile.css'
% }
	%if (stash('load_marquee')) {
	%= javascript '/static/jquery-1.10.2.min.js'
	%= javascript '/static/jquery-ui.min.js'
	%= javascript "/static/dbf.min.js?v=${version}"
	%= javascript '/static/dbf.min.js'
	%= javascript '/static/marquee.min.js'
	%= javascript begin
	$(function () {  $('marquee').marquee() });
@@ -26,7 +26,7 @@
	% } else {
	%= javascript '/static/jquery-1.10.2.min.js', defer => undef
	%= javascript '/static/jquery-ui.min.js', defer => undef
	%= javascript "/static/dbf.min.js?v=${version}", defer => undef
	%= javascript '/static/dbf.min.js', defer => undef
	% }
	% if (stash('with_geolocation')) {
	%= javascript '/static/geolocation.min.js', defer => undef