aboutsummaryrefslogtreecommitdiff
path: root/doc/tips/DreamHost.mdwn
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@debian.org>2017-11-06 14:15:22 -0500
committerSimon McVittie <smcv@debian.org>2019-02-03 17:01:55 +0000
commitd16e34c736676256b7cd3ea12797313dc1332fc3 (patch)
tree8221054fb81e29b1dd853ad2e2613b784a278e0b /doc/tips/DreamHost.mdwn
parentaa063aeb337271577fc426dc32b26c1ca87807e5 (diff)
downloadikiwiki-d16e34c736676256b7cd3ea12797313dc1332fc3.tar
ikiwiki-d16e34c736676256b7cd3ea12797313dc1332fc3.tar.gz
append javascript after CSS
Javascript resources should be presented to browsers after CSS, and "after the fold" (ATF) according to the best practices: https://developers.google.com/speed/docs/insights/mobile#PutStylesBeforeScripts This change allows the browser to download Javascript files in parallel, by including Javascript on the *closing* </body> tag instead of the opening tag. We also improve the regex to tolerate spaces before the body tag, as some templates have (proper) indentation for the tag.
Diffstat (limited to 'doc/tips/DreamHost.mdwn')
0 files changed, 0 insertions, 0 deletions