🧠DUMP
Workshop / Tools
Google Chrome: Create a new Profile

A clean profile without any plugins will help you analyze the sites performance even better.
Cmd/Ctrl + Shift + P will quickly find settings and features
Shift is in general the magic-key in Chrome's Dev Tools. Network Panel -> Shift over requests shows you parents/childs
Network Panel
Full View
Disable Cache
Priority Column
Size: If size (top value, dark) smaller than gray? ==> Compressed If size (top value, dark) is bigger than gray? ==> Headers will be removed
Enabling Experiments
chrome://flags
Enable "Developer Tools experiments"
Restart Chrome
Open DevTools’ Settings pane (F1)
Head into the new Experiments pane
Hit Shift six times

Request Blocking
“I wonder how fast the page is without this ad provider?”

Filtering (Network Panel -> Search)
larger-than:
status-code:
priority:
has-response-header:
domain:Simply put a - (minus) in front of it
Local Overwrites
Create a folder on your machine called local-overrides
Sources » Overrides » Select folder for overrides
Navigate to folder from step 1
Allow access
Webpagetest
Create a account
No rate-limiting
IP address gets whitelisted
Access to more features
Setting Up Your Test
Head to webpagetest.org
Pick the exact URL you’d like to test
Choose a location, connection speed, browser, etc.
Capture video for first and repeat views
Choose 5 runs
Chrome » Capture Dev Tools Timeline
Go!
Network Link Conditioner
Download https://csswizardry.net/Additional_Tools_for_Xcode_8.2.dmg
Open package and go into Hardware directory
Locate Network Link Conditioner.prefPane
Double-click and follow instructions

Workshop / TODO's
Order of <head>
<head> Loading resource in the correct order is critical for building a fast website; do we have any bottlenecks or inefficiencies?
The optimum <head> order -- provides there are not interdependenceis -- goes like so:
<meta charset />
<meta name="viewport" />
<title>
<script> // Inline JS </script>
<link rel="stylesheet" />
<style>/* Inline CSS */</style>
<script src=""></script>
<!-- Everything else (icons, Open Graph, etc.) -->Use DevTool's Source panel to test locally.
Resource Hints

Resolve the IP address for a given domain ahead of time
When you know the domain but not the url
Resolve the IP address and open a TCP/TLS connection for a given domain a head of time

When you know the domain but not the url
Preconnect with dns-prefetch fallback breaks in safari
Firefox 66: preconnect no longer working
A file needed for subsequent navigation
Download the file and drop it into HTTP cache for later usage
Except: those with "no-store Cache-Control" haeder.
Fetched wiht lowest possible priority
A mandatory fetch for a file needed for the current navigation
A way to surface late-discovered resources
The as attribute (font, image, script, style) => Changed order an priority
Deploy as HTTP Headers (rel=preconnect)

Read more here: https://speakerdeck.com/csswizardry/more-than-you-ever-wanted-to-know-about-resource-hints?slide=11
https://csswizardry.com/2019/03/cache-control-for-civilians/
Replace Target _blank
<a href="http://example.com" target="_blank" rel="noopener">
Example site
</a>CSSCamp / TODO's
JSCamp / TODO's
Last updated
Was this helpful?
