From c897aa84567ba046644a87e23b32f3df4c5845d3 Mon Sep 17 00:00:00 2001 From: Joakim Reinert Date: Mon, 4 May 2015 00:58:50 +0200 Subject: Set cache buster for js with urlArgs setting No more need for timestamp in filename of minified main js --- application/views/header.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'application/views/header.php') diff --git a/application/views/header.php b/application/views/header.php index f80ffed05..6e7ef3a92 100644 --- a/application/views/header.php +++ b/application/views/header.php @@ -32,8 +32,9 @@ if (is_cli_client() && !isset($force_full_html)) { window.appConfig = {}; require.config({ baseUrl: '/data/js', + urlArgs: '', paths: { - 'main': ['', 'main'] + 'main': ['main.min', 'main'] } }); require(['main']); -- cgit v1.2.3-24-g4f1b