From 5124c77075cd1a9db4f91a8393065f27865fe739 Mon Sep 17 00:00:00 2001 From: Amir Pourmand Date: Sat, 30 Oct 2021 23:56:37 +0330 Subject: [PATCH] Optimize Website Load Time (#435) * Place js files after body tag * Add Analytics to the end of script * Minor nits and fixes Co-authored-by: Maruan Al-Shedivat --- _includes/head.html | 4 ++-- _includes/scripts/analytics.html | 3 +++ _includes/scripts/misc.html | 4 ++-- _layouts/default.html | 4 ++-- 4 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 _includes/scripts/analytics.html diff --git a/_includes/head.html b/_includes/head.html index 7dcb1ba5d6db..f2c2c46958ae 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7d4a62617ec7287a3cb21323d33d0490efb94a4f1c35c72ea88d1377f46e1775 -size 3603 +oid sha256:d31c93e50a1d8c6f6db7155b960f0b62305231ce004873d78f3753ec26eaf59b +size 2537 diff --git a/_includes/scripts/analytics.html b/_includes/scripts/analytics.html new file mode 100644 index 000000000000..634b443a8115 --- /dev/null +++ b/_includes/scripts/analytics.html @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a231804d0e49883c67c34740596931696734c8aa2f05f88597e538ac8445995 +size 818 diff --git a/_includes/scripts/misc.html b/_includes/scripts/misc.html index 39a8edb89bdd..b1941b9c104d 100644 --- a/_includes/scripts/misc.html +++ b/_includes/scripts/misc.html @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:24ab6b1b190eb5d8952f02262c62fb21e7d3e21ae1b87f43ffb538f538e00da2 -size 583 +oid sha256:9cb555fedcb669c07477417ff0e19d3d426fca38c9c9d53efe2868cd2d5bf000 +size 783 diff --git a/_layouts/default.html b/_layouts/default.html index 166c2e339ea5..a609edc73ce9 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:45fc62cd7ac14625678e07abde1b70c6c27915cf605f7b70419a088284da9bdf -size 691 +oid sha256:1839246ee114e8bfbf674d964b5db337125fbea3d0fb66de38635323f0148102 +size 764