Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Page Experience road - Fellyph Cintra [ΕΝ]

Page Experience road - Fellyph Cintra [ΕΝ]

Page experience is the set of signals that part of the ranking factors on the Google search, 2021 those metrics got the attention of millions of WordPress websites. But why those metrics are so important and how it helps to understand how is the experience of users interacting in a web page. Core Web Vitals, mobile-friendly, no intrusive experience why those terms matter and how you can archive those items.

In this talk, we’re going to ride on the road of page experience and give to our users the best experience improving the Core Web Vitals metrics in our website, and get tips how to improve items such as Largest Contentful Paint (LCP), First Input Delay (FID) and Cumulative Layout Shift (CLS) in our WordPress website.

WordPress Greek Community

April 09, 2022
Tweet

More Decks by WordPress Greek Community

Other Decks in Technology

Transcript

  1. Agenda - Page experience - Core web vitals - WordPress

    Performance - New features on the web - New tools to measure website performance WORDCAMP ATHENS 2022
  2. Page Experience Signals • HTTPS(security) • Mobile friendly • No

    intrusive Interstitials • Largest Content Paint • First Input Delay • Cumulative Layout Shift CHECKLIST ITEMS CORE WEB VITALS
  3. Signed Exchanges (SXGs) •Google Search will now crawl, cache, and

    prefetch SXGs when applicable. •Google and other search engines sometimes prefetch content that the user is likely to visit. https://web.dev/signed-exchanges/ WORDCAMP ATHENS 2022
  4. LCP Elements WORDCAMP ATHENS 2022 • <img> elements • <image>

    elements inside an <svg> element • <video> elements (the poster image is used) • An element with a background image loaded via the url() function • Block - level elements containing text nodes
  5. • Slow server response times • Resource load times •

    Render - blocking JavaScript and CSS • Client - side rendering Improving LCP WORDCAMP ATHENS 2022
  6. Priority hints @FELLYPH • link, img, script, and iframe tags

    can use it • Now will be possible to define the loading priority from assets: • high • low • auto
  7. Priority Hints WORDCAMP ATHENS 2022 < !-- We don't want

    a high priority for this above - the - fold image -- > <img src="/images/in_viewport_but_not_important.svg" fetchpriority="low" alt="I'm an unimportant image!"> < !-- We want to initiate an early fetch for a resource, but also deprioritize it - -> <link rel="preload" href="/js/script.js" as="script" fetchpriority="low">