Chrome Dev Summit and Website Changes

Dec 9, 2020

The 2020 Chrome Developer Summit was just last week and it inspired me to re-run some Lighthouse tests and touch up a few issues on my website. I ran the following tests multiple times:

  1. Lighthouse tests in a Chrome Extension form.
  2. Web.dev/measure
  3. https://www.webpagetest.org/
  4. AMP Page Experience Guide

I touched up the following issues:

  1. I corrected the bug with the blog post comments. From now the comment section is separated for each blog post. Earlier all comments appeared for all blog posts (all of them were in one realm). As a side effect of the fix the existing comments are not accessible any more. Please comment again if you feel your voice to be heard!
  2. "Heading elements are not in a sequentially-descending order": I modified the HTML in multiple places to adhere to the rules.
  3. "iframe without title": the Disqus integration’s iframe was affected. I almost thought this was about the <title> element in the iframe, but in reality this is about the title attribute. Fortunately if I supply a title attribute to the amp-iframe element then the AMP mechanisms pass that over to the generated iframe element.
  4. I fiddled around a lot with the Workbox plugin since the Lighthouse recently falsely claims that the page marked with the PWA Manifest’s start_url is not functioning off-line. I verified later with a test on my phone that it indeed works off-line. But this error made me double check everything, adjust caching rules and at some point I even tried to switch to jekyll-pwa-workbox, because jekyll-workbox-plugin has a bug with wildcard caching rules. I had to revert back to jekyll-workbox-plugin because jekyll-pwa-workbox’s code doesn’t fit seamlessly into my AMP setting.
  5. One of the tools found a slightly malformed HTML anchor. Visual Studio Code’s auto-complete tends to insert the closing </a> tag and sometimes this causes the open-close tag hierarchy to go out-of sync due to an extra closing tag.
  6. I modified all of the Manifest icons to be maskable. This required to shrink the QR code pattern on all of the icons and resave them.
  7. AMP Optimizer advised to place a precache for the main AMP JavaScript library.
  8. I also used the data-hero attribute for the about page’s carousel images. Maybe I’ll use them somewhere else as well.
  9. Lighthouse or PageSpeed Insights reports all AMP scripts as "Unused Javascript" is a known issue. I believe that in the future this can be overcome by using modularized AMP components in case the browser supports modularization. These types of AMP components are in beta right now.
  10. I was not able to uncover which JavaScripts were reported as unused because there is some kind of a Linux or distribution specific Lighthouse Chrome Extension bug.

Chrome Dev Summit revolved around privacy and security a lot. Core Web Vitals was also a very important topic: three major metrics are established. I’d like to take advantage of them with my website but right now I don’t see how to nicely integrate Google Analytics’s Core Web Vitals, I’d expect to have an AMP component which leverages the technology. CloudFlare as a host also embraced Core Web Vitals under their Browser Insights but I have to have a nice AMP way to integrate that as well.

I highly advise you to try Chrome Dev Summit’s Adventure Site, it’s a lot of fun to supplement the lack of face-to-face interaction of a traditional conference setup. GDG Fresno teamed up with GDG Little Rock and GDG Sonoma to deliver a Chrome Dev Summit Extended event on 16th of January 2021. Join us to listen to Googler presenters and Google Developer Group and Women Techmakers speakers.

Comments loading...