From 476493c61679764b33734512f023a627dcca9ecf Mon Sep 17 00:00:00 2001 From: mono-b Date: Sun, 18 Dec 2022 23:58:07 -0300 Subject: up --- posts/script-loaded-on-my-website/index.html | 534 +++++++++++++++++++++++++++ 1 file changed, 534 insertions(+) create mode 100644 posts/script-loaded-on-my-website/index.html (limited to 'posts/script-loaded-on-my-website/index.html') diff --git a/posts/script-loaded-on-my-website/index.html b/posts/script-loaded-on-my-website/index.html new file mode 100644 index 0000000..77b7360 --- /dev/null +++ b/posts/script-loaded-on-my-website/index.html @@ -0,0 +1,534 @@ + + + + Script loading – dd + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+

Script loading

+
+
+

If you are using something like uMatrix you might have noticed that theres a script element trying to load. You can safely permit it since it only preloads +deferenced css. It is a technique that I have not taken a look into very deeply, but it does make this website 20% faster, so that is sufficient for me.

+

+Script dereferenced CSS

+

If you want to implement this on your site, all you have to do is check which part of your CSS stylesheet is critical to load with your browser’s dev tool, +and add it to the head section of your site. View this website’s code for a reference.

+ +
+ +
+ +
+
+ + +
+ +
+ + +

+ + 2022-09-08 +

+ + +
+
+ + + +
+ + + -- cgit v1.2.1