# Pagespeed findings

Can't get enough? I'm regularly sharing snack bite [tips and advice on LinkedIn](/md/erwin-hofman/linkedin/) as well.

## Posts about performance

- ![compression-dictionary-results.png](/file/upload/img/blog/compression-dictionary-results.png?v=9d5fdc738c83)
  - 2025-12-28
  - 9 min read
  ## [Implementing compression dictionaries into PHP](/md/blog/implementing-compression-dictionaries-into-php/)
  Shared Compression Dictionaries promise smaller HTML responses and faster navigations. Implementing them on a real website without a CDN turned out to be a lot more educational than expected.
- ![carbon-gtm-prerendering-extended-transparent.png](/file/upload/img/blog/carbon-gtm-prerendering-extended-transparent.png?v=dc2f784d4219)
  - 2025-12-09
  - 4 min read
  ## [Prevent skewed analytics when using Speculation Rules](/md/blog/prevent-skewed-analytics-when-using-speculation-rules/)
  I like the new Speculation Rules API which allows sites to prerender (potential) next navigations. But I'm not a fan of third parties loading right away.
- ![onetrust-impact.png](/file/upload/img/blog/onetrust-impact.png?v=097eda7db17f)
  - 2025-11-05
  - 8 min read
  ## [Performance (INP) impact from OneTrust and other CMPs](/md/blog/performance-inp-impact-from-onetrust-other-cmps/)
  A topic I’ve covered many times already in LinkedIn posts and both in-house and public talks: the performance impact caused by consent management platform (CMP) scripts.
- ![wp-rocket-preconnect-with-crossorigin.png](/file/upload/img/blog/wp-rocket-preconnect-with-crossorigin.png?v=8895e84fe3e8)
  - 2025-09-05
  - 5 min read
  ## [Do not use WP Rocket preconnect feature](/md/blog/do-not-use-wp-rocket-preconnect-feature/)
  This is a heads-up when using latest WP Rocket (13.9) on your WP or WooCommerce site. Preconnecting to third parties now comes out of the box, but comes with a sitespeed trade-off.
- ![broken-head-fix.jpg](/file/upload/img/blog/broken-head-fix.jpg?v=ae193b55f943)
  - 2024-04-02
  - 3 min read
  ## [How to: 5 steps to detect invalid HTML breaking your](/md/blog/how-to-5-steps-to-detect-invalid-html-breaking-your/)
  This is a follow-up post where I elaborate on how to easily detect a broken to identify invalid HTML.
- ![broken-head.jpg](/file/upload/img/blog/broken-head.jpg?v=85d4626b34ab)
  - 2024-03-26
  - 3 min read
  ## [How invalid HTML elements impact web performance](/md/blog/how-invalid-html-elements-impact-web-performance/)
  Watch out for invalid HTML elements in yourHTML head. A div, input or img can result in unexpected browser behaviour, slowing down page performance.
- ![text-wrap-balance-carbon.png](/file/upload/img/blog/text-wrap-balance-carbon.png?v=597add280baa)
  - 2024-01-25
  - 3 min read
  ## [Use text-wrap: balance; to improve design and INP](/md/blog/use-text-wrap-balance-to-improve-inp/)
  Evenly and aesthetically distributing your text on available lines? Use \`text-wrap: balance\` instead of JavaScript and improve web performance &amp; INP of your website.
- ![performance-now-conference-2023-robin-marx.jpg](/file/upload/img/blog/performance-now-conference-2023-robin-marx.jpg?v=45ec0d601527)
  - 2023-11-06
  - 6 min read
  ## [Performance.now() conference recap](/md/blog/performance-now-conference-recap/)
  It's a wrap! The organizers of the yearly performance.now() conference managed to raised the bar once again for next year's edition.
- ![google-office-amsterdam.jpg](/file/upload/img/blog/google-office-amsterdam.jpg?v=69dc2995c707)
  - 2023-11-02
  - 2 min read
  ## [Web Vitals summit & performance.now() pre-event](/md/blog/web-vitals-summit-and-performancenow-pre-event/)
  Before the performance.now() conference days started, I visited Google headquarters in Amsterdam and also gave a presentation on INP and the LoAF API during a performance meetup.
- ![rocket-loader-website-launch.jpg](/file/upload/img/blog/rocket-loader-website-launch.jpg)
  - 2023-08-04
  - 3 min read
  ## [Correctly executing a third party on page view, interactive or onload + code](/md/blog/correctly-executing-a-third-party-on-page-view-interactive-or-onload/)
  Whatever you do as a third party, there's an interesting nuance that we ran into with a Matomo implementation. The issue: the website was too quick.
- ![consent-manager-platform.jpg](/file/upload/img/blog/consent-manager-platform.jpg?v=342b4e9372aa)
  - 2022-12-23
  - 6 min read
  ## [How a consent manager is costing you money; a performance use-case](/md/blog/how-a-consent-manager-is-costing-you-money-a-performance-use-case/)
  Do you also just implement third party code without consideration? Here's a use case where it impacted user engagement and specifically the FCP metric by at least 445ms, based on a Webpagetest analysis.
- ![expect-delays-bus-buildings.jpg](/file/upload/img/blog/expect-delays-bus-buildings.jpg?v=c3a33b34f922)
  - 2022-11-28
  - 4 min read
  ## [The redirect technique behind Twitter's t.co links](/md/blog/the-redirect-technique-behind-twitter-tco-links/)
  While users would actually see the actual link in the user interface (either their browser or the Twitter app), the actual redirect behaviour works with an extra step via t.co
- ![hypertext-transfer-protocol.jpg](/file/upload/img/blog/hypertext-transfer-protocol.jpg?v=67cbb3204bd4)
  - 2022-07-25
  - 7 min read
  ## [The 2 main performance debts of HTTP/1](/md/blog/two-main-performance-debts-of-http1/)
  HTTP/2 is already around since 2015. Heck, HTTP/3 even got standardized as of June 6th 2022. So why even bother talking about HTTP/1?
- ![defer-css-hero.jpg](/file/upload/img/blog/defer-css-hero.jpg?v=252241280c61)
  - 2022-02-15
  - 3 min read
  ## [Improve PageSpeed with 2x a single line of CSS](/md/blog/improve-pagespeed-with-a-single-line-of-css/)
  Rarely can you increase your PageSpeed with a single line of CSS. Today, though, I will share two separate CSS lines of code that will improve pagespeed and performance.
- ![open-love-letter.jpg](/file/upload/img/blog/open-love-letter.jpg?v=b4ab76b635fb)
  - 2022-01-03
  - 6 min read
  ## [Improving WordPress performance: an open letter](/md/blog/improving-wordpress-performance-an-open-letter/)
  WordPress started a performance team to improve its Core Web Vitals scores. I read their pagespeed optimization spreadsheet and boy do I have an opinion regarding their performance backlog.
- ![jquery-wordpress.png](/file/upload/img/blog/jquery-wordpress.png?v=d977fbbde6c0)
  - 2021-12-07
  - 4 min read
  ## [Why Wordpress is not correct to blame jQuery for bad pagespeed](/md/blog/why-wordpress-is-not-correct-to-blame-jquery-for-bad-pagespeed/)
  Wordpress recently wrote about the performance impact of jQuery, but it seems like they are choosing to not call out the real pagespeed bottleneck.
- ![wordpress-mobile-accessibility.jpg](/file/upload/img/blog/wordpress-mobile-accessibility.jpg?v=89c287c83d44)
  - 2021-10-29
  - 2 min read
  ## [Wordpress is lacking behind and starts a performance team](/md/blog/wordpress-is-lacking-behind-and-starts-a-performance-team/)
  It's happening. Wordpress is finally going to focus on performance. But why now, and will it succeed?
- ![cross-fingers-laptop-desk.jpg](/file/upload/img/blog/cross-fingers-laptop-desk.jpg?v=0536e97b9227)
  - 2021-07-08
  - 5 min read
  ## [Spot issues in your copied preconnect code snippet \[how to\]](/md/blog/spot-issues-in-preconnect-code-snippet-how-to/)
  You're on stackoverflow or MDN docs and found a code snippet that should help pagespeed. Just copy + paste it and hope it works!
- ![praxinoscope-zoetrope.jpg](/file/upload/img/blog/praxinoscope-zoetrope.jpg?v=6b8ce4bb53b4)
  - 2021-03-15
  - 6 min read
  ## [Website performance and laggy animations: GPU vs CPU](/md/blog/website-performance-laggy-animations-gpu-vs-cpu/)
  Google Lighthouse has recently had an update. This may also have (negatively) influenced your scores. I briefly paid attention to it in a LinkedIn post, but in this blogpost I will go into it a bit more deeply.
- ![minified-javascript-file.jpg](/file/upload/img/blog/minified-javascript-file.jpg?v=a1981ccff9b0)
  - 2021-02-23
  - 4 min read
  ## [A Lifehack for removing unused JS/CSS.. or just unminify](/md/blog/a-lifehack-for-removing-unused-js-css-or-just-minifying/)
  To reduce page size plus your user's data usage and improve loading speed (depending on your audience) it is best to minify JS and CSS files. Fortunately, many developers or just plugins are already doing this by default. However..
- ![instant-noodles.jpg](/file/upload/img/blog/instant-noodles.jpg?v=a92da9a27927)
  - 2021-02-18
  - 4 min read
  ## [Need for pagespeed depends on the context](/md/blog/need-for-pagespeed-depends-on-context/)
  Instant noodle soup is not the best example, but would you trust shellfish that would've been in boiling water for just 100 milliseconds? Well that's where I had to change things to give users a trustworthy feeling.
- ![woman-looking-at-another-man.jpg](/file/upload/img/blog/woman-looking-at-another-man.jpg?v=e896c9eced50)
  - 2021-02-16
  - 6 min read
  ## [Improving Pagespeed / UX by ditching PWA](/md/blog/how-ditching-pwa-helped-improving-pagespeed-and-ux/)
  Wait, what!? Obviously, I could name some great PWA solutions out there, but it wasn't always so. Today's case, migrated in November, is proving that you can build perfectly performant solutions, for real users, the traditional way.
- ![swiss-alpine-engelberg-alpine-js.jpg](/file/upload/img/blog/swiss-alpine-engelberg-alpine-js.jpg?v=338e3368892c)
  - 2021-01-13
  - 8 min read
  ## [3 reasons why Alpine.js won't beat jQuery, Core Web Vitals included](/md/blog/3-reasons-why-alpinejs-wont-beat-jquery-core-web-vitals-included/)
  Alpine is lightweight compared to Bootstrap, jQuery, Vue or React. So, why the complaints, you wonder?
- ![glacier-national-park-montana.jpg](/file/upload/img/blog/glacier-national-park-montana.jpg?v=ab1c67ecf36a)
  - 2021-01-04
  - 2 min read
  ## [My content-visibility implementation for improved UX](/md/blog/my-content-visibility-implementation-improved-ux/)
  Before, we learned that content-visibility is likely to improve the pagespeed and performance of your website. But considering all caveats, how should you approach content-visibility implementation yourself?
- ![content-visibility-mountain-peak-clouds.jpg](/file/upload/img/blog/content-visibility-mountain-peak-clouds.jpg?v=1eb9c6126fbd)
  - 2020-12-28
  - 7 min read
  ## [Improve pagespeed with content-visibility CSS, is it for you?](/md/blog/improve-pagespeed-with-content-visibility-css-for-you/)
  Content-visibility is a new CSS property that boosts your rendering performance, according to Google. But is that really so and are there any caveats, or in other words, should you start using it already?
- ![chat-bot.jpg](/file/upload/img/blog/chat-bot.jpg?v=ed00dfe7d89e)
  - 2020-11-02
  - 6 min read
  ## [Improving a third party chatbot widget's performance](/md/blog/improving-third-party-chatbot-widget-performance/)
  The sad part of third party chat widgets is that it really is up to chat widget providers to improve performance, caring about the performance of their clients' websites and webshops at the same time. But even when they don't, we can make a difference.
- ![live-chat.jpg](/file/upload/img/blog/live-chat.jpg?v=0779c8faad1b)
  - 2020-10-30
  - 5 min read
  ## [Chatbot pagespeed impact visualized](/md/blog/chatbot-pagespeed-impact-visualized/)
  I wrote my own chatbot + livechat and this created quite some fuzz on LinkedIn. I even received swear words, luckily just for chatbot testing purposes 😅. But let's talk about the harm of chat bots such as Zopim (Zendesk), and how I visualized this.
- ![rocket-loader-website-launch.jpg](/file/upload/img/blog/rocket-loader-website-launch.jpg)
  - 2020-10-01
  - 6 min read
  ## [Cloudflare Rocket Loader and Core Web Vitals](/md/blog/rocket-loader-and-core-web-vitals/)
  Render blocking JS? Use Cloudflare Rocket Loader JS they said! But then Core Web Vitals came around, changing things 😕 However, Cloudflare Rocket Loader already came with a handful of pitfalls:
- ![gtmetrix-google-lighthouse.png](/file/upload/img/blog/gtmetrix-google-lighthouse.png?v=06a5111e05d8)
  - 2020-09-07
  - 3 min read
  ## [GTmetrix pagespeed: outdated and going to use Core Web Vitals](/md/blog/gtmetrix-outdated-will-use-core-web-vitals/)
  Earlier I wrote why to use PageSpeed Insights instead of GTmetrix, but this might not be accurate anymore by the end of the month. GTmetrix announced they will be moving to using Core Web Vitals as well.
- ![best-pagespeed-toolings.jpg](/file/upload/img/blog/best-pagespeed-toolings.jpg?v=8c1f13abd14e)
  - 2020-08-05
  - 3 min read
  ## [Best free website Performance + CrUX toolings in 2020](/md/blog/best-free-website-performance-ux-toolings-in-2020/)
  If you want to check the performance of your webshop or website, these are the best free toolings you can use.
- ![audit-webshop.png](/file/upload/img/svg/audit-webshop.png?v=543b6ab84b82)
  - 2020-07-24
  - 5 min read
  ## [Why you should use PageSpeed Insights, instead of GTmetrix or Pingdom](/md/blog/why-you-should-use-pagespeed-insights-instead-of-gtmetrixs-or-pingdom/)
  The answer to one of my most asked questions (spoiler alert: it's because of SEO and UX).
- ![free-pagespeed-optimization-http2.jpg](/file/upload/img/blog/free-pagespeed-optimization-http2.jpg?v=efb64813ef20)
  - 2020-07-13
  - 3 min read
  ## [Why isn't HTTP/2 improving the pagespeed score](/md/blog/why-isnt-http2-improving-pagespeed-score/)
  Sometimes a LinkedIn post of mine is leading to new questions as well. This time: "How do you get a high PageSpeed score when a site is using HTTP/2?"
- ![mobile-5g-ecommerce-sitespeed.jpg](/file/upload/img/blog/mobile-5g-ecommerce-sitespeed.jpg?v=131a377e01a6)
  - 2020-05-12
  - 8 min read
  ## [Does 5G make my sitespeed issues go away?](/md/blog/does-5g-make-my-sitespeed-issues-go-away/)
  Recently, when discussing pagespeed optimizations within a platform migration, I was asked if fiber internet or 5G will make sitespeed issues go away, or just making it worse.
- ![slow-loading-youtube.jpg](/file/upload/img/blog/slow-loading-youtube.jpg?v=848cf8d4c76c)
  - 2020-05-06
  - 3 min read
  ## [How faster internet resulted in slower sites and webshops](/md/blog/how-faster-internet-resulted-in-slower-sites-and-webshops/)
  During the years 2011 through 2019, 4g coverage spread from 5% to 79% of the world. During that same time period, the median average JavaScript transfer size to mobile devices increased by 611%, from 52kb to 372.9 KB.
- ![free-pagespeed-optimization-http2.jpg](/file/upload/img/blog/free-pagespeed-optimization-http2.jpg?v=efb64813ef20)
  - 2020-04-28
  - 4 min read
  ## [6 free website pagespeed & performance improvements](/md/blog/free-website-pagespeed-performance-improvements/)
  While there are a lot of articles to be found on the subject of pagespeed or improving overall sitespeed, most will come out-of-the-box.
- ![product-listing-lazyloading-images.png](/file/upload/img/blog/product-listing-lazyloading-images.png?v=005181c3b3ad)
  - 2020-04-13
  - 6 min read
  ## [Why using a library instead of native lazyloading](/md/blog/why-use-library-native-lazyloading-images/)
  To lazyload or not to lazyload images? From a user and performance perspective, you should lazyload images, but should you use a JS library?
- ![product-listing-lazyloading-images.png](/file/upload/img/blog/product-listing-lazyloading-images.png?v=005181c3b3ad)
  - 2020-04-09
  - 2 min read
  ## [Native image lazyloading support](/md/blog/native-image-lazyloading-support/)
  Browsers are always trying to optimize as well. Some browsers already support lazyloading of images and iframes, using the loading attribute.
- ![instant-pages-hero.jpg](/file/upload/img/blog/instant-pages-hero.jpg?v=9f5ed337fc78)
  - 2020-03-25
  - 5 min read
  ## [Preloading with care](/md/blog/preloading-with-care/)
  Resource hints or preloading is hot, I see it more and more in an attempt to (allegedly) improve website/shop performance, by preloading some assets.
- ![medical-center.jpg](/file/upload/img/blog/medical-center.jpg?v=998bbfbcbaec)
  - 2020-03-05
  - 4 min read
  ## [Fast, accessible and data-saving websites](/md/blog/fast-accessible-and-data-saving-websites/)
  Although most of my work is pagespeed-related, I also like to address web accessibility and carbon emission when doing R&amp;D for our website-producing CMS.
- ![public-dns.jpg](/file/upload/img/blog/public-dns.jpg?v=7146e320ca94)
  - 2020-02-20
  - 4 min read
  ## [Encrypting DNS query bad for performance?](/md/blog/encrypting-dns-query-bad-for-performance/)
  DNS over HTTPS, Mozilla and Chrome already started experimenting with this a while back, to encrypt the last part of web traffic that isn't secure yet by default. But what really is the impact on privacy, security, as well as performance?
- ![tweakers-first.jpeg](/file/upload/img/blog/tweakers-first.jpeg?v=420bb6cfe7e8)
  - 2020-02-18
  - 4 min read
  ## [Slides of Tweakers frontend performance talk](/md/blog/slides-of-tweakers-frontend-performance-talk/)
  Last Thursday, I spoke at the sold out Tweakers Developers Summit. I talked about performance with a bit of conversion/UX/SEO/AMP and PWA.
- ![livestream-tj-gamble-google-pagespeed.jpg](/file/upload/img/events/livestream-tj-gamble-google-pagespeed.jpg?v=aeafa87d7946)
  - 2020-01-22
  - 5 min read
  ## [CSS Critical Path in Magento 1](/md/blog/css-critical-path-in-magento-1/)
  Last Thursday, January 16th, I joined TJ Gamble's livestream to answer some PageSpeed related questions. Critical CSS was one of the subjects. Just before the livestream, I published a code snippet to auto-enable CSS critical Path within Magento 1.
- ![pwa-hero.jpg](/file/upload/img/blog/pwa-hero.jpg?v=03865cd4d589)
  - 2019-12-12
  - 18 min read
  ## [PWA, the untold story impacting your conversion](/md/blog/pwa-the-untold-story-impacting-your-conversion/)
  Progressive Web Apps have quite some advantages. The biggest one being a web-product with a native-like feeling. But it is also fast and mobile first, or rather should be. This is the untold story about PWA, impacting your conversion.
- ![chromium-pagespeed-website-badge-of-shame.png](/file/upload/img/blog/chromium-pagespeed-website-badge-of-shame.png?v=76d466503f7b)
  - 2019-11-14
  - 8 min read
  ## [Chromium: badge of shame for slow loading websites?](/md/blog/google-chrome-badge-of-shame-for-slow-loading-websites/)
  Twitter exploded when Chromium announced it. Chromium is describing it as "Moving towards a faster web", which is a clear signal towards digital agencies and other websites builders. What to expect?
- ![magento-bytes.jpg](/file/upload/img/blog/magento-bytes.jpg?v=f60b48331561)
  - 2019-11-09
  - 7 min read
  ## [Improved pagespeed: Critical CSS introduced in Magento](/md/blog/improved-pagespeed-critical-css-magento/)
  As of version 2.3.3, Magento introduced CSS critical path. Users will experience a faster loading product-page when applied (correctly)!
- ![skeleton-loading.jpg](/file/upload/img/blog/skeleton-loading.jpg?v=9c5f611a1ce2)
  - 2019-10-15
  - 5 min read
  ## [Skeleton loading and perceived performance / CRO](/md/blog/skeleton-loading-and-perceived-performance-cro/)
  Should you favor skeleton loading over spinner loading, and what would be the difference between building a PWA or server rendered website?
- ![performance-save-data-conversion.png](/file/upload/img/blog/performance-save-data-conversion.png?v=c3f15b213e29)
  - 2019-09-30
  - 4 min read
  ## [Light weight websites with Save-Data header](/md/blog/light-weight-websites-with-savedata-header/)
  We all use JS, custom fonts, images and maybe even video's within our website or webshop. We can now reduce our load and speed up article- or product pages based on user preferences.
- ![instant-pages-hero.jpg](/file/upload/img/blog/instant-pages-hero.jpg?v=9f5ed337fc78)
  - 2019-09-19
  - 2 min read
  ## [Belsimpel's productpage pagespeed](/md/blog/belsimpel-productpage-pagespeed/)
  A better perceived performance and thus user experience, will result in higher conversion and thus revenue.
- ![device-digital-e-commerce-35550.jpg](/file/upload/img/blog/device-digital-e-commerce-35550.jpg?v=92097ef74885)
  - 2019-09-17
  - 3 min read
  ## [Optimizing e-commerce supplier and cost efficiency](/md/blog/optimizing-ecommerce-supplier-and-cost-efficiency/)
  You want your e-commerce to use most supplier-efficient and cost friendly delivering process. At the same time, you want to keep calculations and thus memory outbursts to a minimum.
- ![instant-pages-hero.jpg](/file/upload/img/blog/instant-pages-hero.jpg?v=9f5ed337fc78)
  - 2019-08-28
  - 4 min read
  ## [Improving a webshop productpage pagespeed](/md/blog/improving-a-webshop-productpage-pagespeed/)
  Before helping an e-commerce company with improving their pagespeed, sometimes I create a proof of concept first. By doing this, stakeholders will get a better grasp of what can be achieved in real life.
- - 2019-08-20
  - 4 min read
  ## [Performance metrics: LCP replacing FMP](/md/blog/performance-metrics-lcp-replacing-fmp/)
  First Meaningful Paint is one of the six performance metrics tracked and displayed by Lighthouse. It measures when the primary content of a page is visible, but is more of a guess. It became time for a new metric.
- ![www-domain-prefix.jpg](/file/upload/img/blog/www-domain-prefix.jpg?v=f870513dc9ab)
  - 2019-08-06
  - 4 min read
  ## [Boost web performance with www domain prefix](/md/blog/boost-web-performance-with-www-domain-prefix/)
  You might want to publish your (new) website or webshop on the www-prefix of your domain. This will decrease network latency, when doing it the other way around for your images, making your online business even faster.
- ![formula-1adult-car-crew-2712852.jpg](/file/upload/img/blog/formula-1adult-car-crew-2712852.jpg?v=9b57386e9d0b)
  - 2019-08-02
  - 3 min read
  ## [What CMS to use for optimale TTFB (and sitespeed?)](/md/blog/what-cms-optimal-ttfb-sitespeed/)
  With which CMS do you have the greatest chance of a fast or slow website? And which (managed) hosting is best?
- ![8-reasons-hero.png](/file/upload/img/blog/8-reasons-hero.png?v=992409f203c8)
  - 2019-01-29
  - 5 min read
  ## [8 reasons why you're doing SEO wrong](/md/blog/8-reasons-why-you-re-doing-seo-wrong/)
  If you are a professional Web Performance Optimizer (WPO), or if you are simply someone who cares about online performance and pagespeed, chances are that you are doing these performance optimisations wrong.
- ![defer-css-hero.jpg](/file/upload/img/blog/defer-css-hero.jpg?v=252241280c61)
  - 2018-12-18
  - 5 min read
  ## [Defer unused CSS @ Google's Lighthouse](/md/blog/defer-unused-css-google-s-lighthouse/)
  The biggest challenge under the former PageSpeed Insights test has been completely annulled as the PageSpeed Insights uses the Lighthouse engine nowadays.
