From c56c7b8ca96568a9d93b6dd1b79b60b6e19a6bf8 Mon Sep 17 00:00:00 2001 From: mluto Date: Sun, 6 Jan 2013 12:19:56 +0100 Subject: [PATCH 1/2] Load CSS before JS According to google this is more efficent https://developers.google.com/speed/docs/best-practices/rtt?hl=en#PutSty lesBeforeScripts --- src/templates/pad.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/templates/pad.html b/src/templates/pad.html index a9313a1be..92f6c1ae0 100644 --- a/src/templates/pad.html +++ b/src/templates/pad.html @@ -34,16 +34,16 @@ - - - - <% e.begin_block("styles"); %> <% e.end_block(); %> + + + + <% e.begin_block("body"); %> From 77315aa1d4c0026ee267dca684acb27ecfef0069 Mon Sep 17 00:00:00 2001 From: mluto Date: Sun, 6 Jan 2013 12:26:00 +0100 Subject: [PATCH 2/2] Load CSS before JS, in timeslider --- src/templates/timeslider.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/templates/timeslider.html b/src/templates/timeslider.html index 16579942b..6cddfc15a 100644 --- a/src/templates/timeslider.html +++ b/src/templates/timeslider.html @@ -33,14 +33,14 @@ - - - - + + + +