CP Clermont (@cpclermont) header
CP Clermont (@cpclermont) profile picture

Dev Tools & Web Perf @Shopify ⚡ Husband & Dad^2 | he/him

Montreal
Joined January 2014
Photo by CP Clermont (@cpclermont)Photo by CP Clermont (@cpclermont)Photo by CP Clermont (@cpclermont)Photo by CP Clermont (@cpclermont)Photo by CP Clermont (@cpclermont)
CP Clermont retweeted
🆕💧 Liquid Devs! We need your input! We've got a lot of plans to improve the Liquid API, and our first RFCs have landed. New filters for working with Arrays, and a new `{% doc %}` tag for a feature we're calling LiquidDoc. 🔗 in the replies. 🎥 Showing everything new.
3
11
2
60
6,441
The View Transitions API is an absolute game changer and will effectively deprecate single page apps in most cases. I'm implementing it in What PWA Can Do Today. What you see in the video below is an MPA that does a full page reload on each navigation @jaffathecake 🧵1/3
14
125
14
675
If you don’t know something, say so, especially as senior+. Encouraging this fantasy that you’re supposed to know everything is false and dangerous for both individuals and work culture.
8
76
10
372
In case you weren't aware; Chromium browsers (Chrome, Edge), Firefox, and Safari now all support native image lazy loading. <img loading="lazy"/> No need for custom polyfills for major browsers anymore! caniuse.com/loading-lazy-att…
28
635
35
2,966
My 2yo went to bed an hour later. So, naturally, she woke up a) one hour later b) one hour earlier c) TWO HOURS EARLIER??!!
3
Writing beautiful Shopify themes just got easier ✨ Check out the latest improvements to syntax highlighting for the Shopify Liquid @code extension
8
11
1
66
Love this. Here I was piping curl into hq to find out which scripts and styles were blocking first paint. This feels better. It's visual.
1
This could be huge when it comes to correlating SPA performance with $$$. When only loaded once, the experience is defined by animation smoothness. The @webperfwg is working on web platform primitives to measure that and needs your feedback. #webperf #sitespeed #ReactJS
On yesterday's WG call, @mmocny talked about the hurdles of measuring smoothness, and @patmeenan talked about Priority Hints! Minutes: w3c.github.io/web-performanc… Michal's presentation: youtu.be/5QGiwslg00E
4
7
CP Clermont retweeted
🚨Job Alerts 🚨 We have a ton of openings at Shopify, including: If you enjoy engineering / advocacy working in the framework community, helping make sure we build a great product and help developers do amazing things with them we are pushing the edge shopify.dev/hydrogen
2
12
1
41
It makes me angry when I see devs intentionally selling snake oil to entrepreneurs Let me be clear: Any Shopify partner selling "SEO boosters" that cheat lighthouse scores and hurt the buyer experience is violating the AUP&PPP. There will be consequences You have been warned
There is a special place in hell for people that add UA checks for 'Chrome-Lighthouse' and then use document.write() This is not tricking SEO ranking. Only hurting your business.
24
51
12
190
I love good docs in code. Why did we previously content that rel=preconnect is limited by 6 parallel DNS connections? (Hint: it isn't)
4
21
2
87
Who's in charge of #webperf at @GitHub? Adding `height: auto` on the img tag inline styles would empower users to optimize layout shifts on READMEs by setting the width and height attributes on the tag. Would be even better if the ![]() markup set the attributes for us.
1
3
CP Clermont retweeted
For those of you who don’t know why we should *always* put width & height attributes on images in HTML, even for responsive websites, I explain everything in this video: youtu.be/YM3KszYmn58 (And you’ll learn a bunch about how to understand layout & sizing on the web.)
4
25
140
Lighthouse 8.0 is here! ⚡️ Improved CWV balance for the Performance Score, Lighthouse Treemap and metric filtering now in PSI and Canary DevTools, and a brand new CSP audit! All that and more, detailed in the changelog: goo.gle/lh8
3
244
32
681
Underrated skill: Making demo videos with iMovie.
2
A wonderful way to put it. Right at every corner.
This post is from a suspended account. Learn more
I made a (really scrappy) HTML cousin to jq. I called it hq. Useful to quickly get a list of render-blocking resources from a page. npmjs.com/package/@cpclermon…
2
10
Great to see the results of @chinds185 et al.'s work on Simorgh come to fruition. 31M weekly visitors & 85% improvement in DCL (400ms?!) 👏 #perfmatters, especially with such a global audience. medium.com/@chris-hinds/bbc-…
1
4
11
A few new updates to my "How to read a WebPageTest Waterfall View chart" post. Including: • HTTP/1.1 and the `Connection: close` header • Content autofill on mobile devices • Identifying a CORS connection nooshu.github.io/blog/2019/1… #webperf #perfmatters
Blob image URLs: ever seen these? TIL they are actually much easier to "save & open" than I thought. gist.github.com/charlespwd/a…
1
2