]> git.plutz.net Git - serve0/commitdiff
split transmission chunks of header and body, so that browsers can load css in parallel
authorpaul <paul@plutz.net>
Fri, 29 Apr 2016 09:31:25 +0000 (09:31 +0000)
committerpaul <paul@plutz.net>
Fri, 29 Apr 2016 09:31:25 +0000 (09:31 +0000)
svn path=/trunk/; revision=121

templates/frame.html.sh

index e6f2d6e71d8eb6e7302f94bec35f9fe6d12b7515..924b2bdb9713b1d2d3e49a2b433d8d6d78d87310 100755 (executable)
@@ -21,9 +21,11 @@ cat <<EOF
 <html>
   <head>
     <meta name="viewport" content="width=device-width">
-    <title>${TITLE:-${PAGE}}</title>
     <link rel="stylesheet" href="?static=common.css" />
+    <title>${TITLE:-${PAGE}}</title>
   </head>
+EOF
+cat <<EOF
   <body>
     $([ -x "${BODY}" ] && . "${BODY}" || printf %s Error)
   </body>