{"id":72,"date":"2026-10-20T09:00:00","date_gmt":"2026-10-20T07:00:00","guid":{"rendered":"https:\/\/hoja.in\/blog\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\/"},"modified":"2026-10-16T14:00:12","modified_gmt":"2026-10-16T12:00:12","slug":"core-web-vitals-on-a-typo3-site-images-fonts-and-css","status":"publish","type":"post","link":"https:\/\/hoja.in\/blog\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\/","title":{"rendered":"Core Web Vitals on a TYPO3 site: images, fonts and CSS"},"content":{"rendered":"<p>When a TYPO3 page scores badly in PageSpeed Insights, the reason is rarely TYPO3 itself. TYPO3 delivers cached HTML fast. The slow part is what the HTML asks the browser to load: a 3000 pixel hero image, three web fonts from another server, a big CSS bundle and a slider script in the head.<\/p>\n<p>This post goes through the three things I check first on any TYPO3 site, with the Fluid and TypoScript I use, and how to measure before and after. I will not promise you numbers. Your page is different from mine, and the only numbers that count are the ones you measure.<\/p>\n<h2>The three metrics in one paragraph<\/h2>\n<p><strong>LCP<\/strong> (Largest Contentful Paint) is when the biggest visible element, usually the hero image or the main heading, is painted. <strong>CLS<\/strong> (Cumulative Layout Shift) measures how much the layout jumps while loading. <strong>INP<\/strong> (Interaction to Next Paint) measures how quickly the page reacts to clicks and taps. Images and fonts mostly hit LCP and CLS. Heavy JavaScript hits INP.<\/p>\n<h2>Step 1: Measure first<\/h2>\n<p>Before changing anything, take a baseline. For lab data, Lighthouse from the command line gives a report you can keep next to the later one:<\/p>\n<pre><code class=\"language-bash\">npx lighthouse https:\/\/myport.ddev.site\/ \n  --only-categories=performance \n  --output=html --output-path=.\/lighthouse-before.html<\/code><\/pre>\n<p>Then open the page in Chrome DevTools, go to the Performance panel and record a page load. The timeline shows the LCP element, when the fonts arrive and which requests block rendering. For INP, record while you click through the menu, accordions and forms.<\/p>\n<p>Lab data on your fast laptop is not what visitors experience. If the site has enough traffic, PageSpeed Insights also shows field data from real Chrome users. Look at both.<\/p>\n<h2>Step 2: Images with real dimensions and srcset<\/h2>\n<p>The good news first: <code>&lt;f:image&gt;<\/code> writes <code>width<\/code> and <code>height<\/code> attributes from the processed image automatically. With <code>img { max-width: 100%; height: auto; }<\/code> in your CSS, the browser reserves the right space and the layout does not jump. If you build <code>&lt;img&gt;<\/code> tags by hand with <code>f:uri.image<\/code>, you lose this, and that is a common source of CLS.<\/p>\n<p>The bigger problem is size. A phone does not need a 1600 pixel image. In TYPO3 14.2 and newer there is <code>f:image.srcset<\/code> (Feature #102215) for exactly this. Here the hero image comes from the <code>media<\/code> field of the page through the files data processor:<\/p>\n<pre><code class=\"language-typoscript\">page.10.dataProcessing.20 = files\npage.10.dataProcessing.20 {\n  references.fieldName = media\n  as = heroImages\n}<\/code><\/pre>\n<pre><code class=\"language-html\">&lt;f:if condition=\"{heroImages.0}\"&gt;\n    &lt;f:variable name=\"hero\" value=\"{heroImages.0}\" \/&gt;\n    &lt;f:variable name=\"heroSrcset\" value=\"{f:image.srcset(image: hero, srcset: '480w, 800w, 1200w, 1600w')}\" \/&gt;\n\n    &lt;f:image image=\"{hero}\" width=\"1200\"\n             srcset=\"{heroSrcset}\" sizes=\"100vw\"\n             loading=\"eager\" fetchpriority=\"high\" decoding=\"async\" \/&gt;\n&lt;\/f:if&gt;<\/code><\/pre>\n<p>Arbitrary attributes like <code>srcset<\/code>, <code>sizes<\/code> and <code>fetchpriority<\/code> are passed through to the tag. The <code>alt<\/code> text comes from the file reference if you do not set it. Two rules that matter for LCP:<\/p>\n<ul>\n<li>The hero image above the fold must <strong>not<\/strong> be <code>loading=\"lazy\"<\/code>. Lazy loading the LCP image delays it. Use <code>eager<\/code> and <code>fetchpriority=\"high\"<\/code>.<\/li>\n<li>Images below the fold <strong>should<\/strong> be lazy. They then do not compete with the hero for bandwidth.<\/li>\n<\/ul>\n<p>On TYPO3 13.4 there is no srcset ViewHelper yet. Build the attribute with <code>f:uri.image<\/code> per width instead:<\/p>\n<pre><code class=\"language-html\">srcset=\"{f:uri.image(image: hero, width: '480')} 480w, {f:uri.image(image: hero, width: '800')} 800w, {f:uri.image(image: hero, width: '1200')} 1200w\"<\/code><\/pre>\n<h2>Step 3: Preload what the browser finds too late<\/h2>\n<p>If the hero image is a CSS background, or the font is referenced only inside the CSS file, the browser discovers it late: first HTML, then CSS, then the image or font. A preload in the head starts the download right away.<\/p>\n<p>TYPO3 14.0 added <code>f:page.headerData<\/code> (Feature #107056), so the preload can sit next to the image in the same template:<\/p>\n<pre><code class=\"language-html\">&lt;f:page.headerData&gt;\n    &lt;link rel=\"preload\" as=\"image\" fetchpriority=\"high\"\n          imagesrcset=\"{heroSrcset}\" imagesizes=\"100vw\"&gt;\n&lt;\/f:page.headerData&gt;<\/code><\/pre>\n<p>Use the same srcset and sizes as on the <code>&lt;img&gt;<\/code>, otherwise the browser downloads two different files. The ViewHelper outputs its content as it is, so never put unescaped user input in there.<\/p>\n<p>For a font, the TypoScript way also works on v13. This is how hoja.in preloads the one heading font that is visible above the fold:<\/p>\n<pre><code class=\"language-typoscript\">page.headerData.10 = TEXT\npage.headerData.10.value = &lt;link rel=\"preload\" href=\"{path : EXT:sitepackage\/Resources\/Public\/Fonts\/big-shoulders-display-latin-800-normal.woff2}\" as=\"font\" type=\"font\/woff2\" crossorigin&gt;\npage.headerData.10.insertData = 1<\/code><\/pre>\n<p>Preload only one or two files. If you preload everything, nothing is a priority any more.<\/p>\n<h2>Step 4: Fonts that do not block text<\/h2>\n<p>Web fonts cause two problems: invisible text while they load, and a layout jump when they arrive. What I do:<\/p>\n<ul>\n<li><strong>Self-host the fonts.<\/strong> No extra connection to a font server, and no visitor data going to a third party. On hoja.in the fonts are WOFF2 files inside the site package.<\/li>\n<li><strong>Use <code>font-display: swap<\/code>.<\/strong> Text is shown at once in a fallback font and swapped when the web font is ready.<\/li>\n<li><strong>Load only the weights you use.<\/strong> Every weight and style is one more file.<\/li>\n<\/ul>\n<pre><code class=\"language-css\">@font-face {\n  font-family: \"Atkinson Hyperlegible\";\n  src: url(\"..\/Fonts\/atkinson-hyperlegible-latin-400-normal.woff2\") format(\"woff2\");\n  font-weight: 400;\n  font-display: swap;\n}<\/code><\/pre>\n<p>If the swap still causes a visible jump, choose a fallback font with similar metrics, or adjust it with <code>size-adjust<\/code> in a second <code>@font-face<\/code> rule.<\/p>\n<h2>Step 5: Keep render-blocking CSS and JavaScript small<\/h2>\n<p>Every stylesheet in the head blocks rendering until it is loaded. On many older TYPO3 sites I see a framework CSS, a theme CSS, a slider CSS and a plugin CSS, all in the head and all on every page.<\/p>\n<ul>\n<li>Remove what is not used. The cheapest byte is the one you do not send.<\/li>\n<li>Combine the rest into one file for the whole site. On hoja.in the redesign replaced the old jQuery theme with one <code>site.css<\/code> and one small <code>site.js<\/code>.<\/li>\n<li>Scripts that are not needed for the first paint go to the footer or get <code>defer<\/code>. The small <code>site.js<\/code> on hoja.in stays blocking on purpose, because it sets a <code>js<\/code> class before the first paint, and there is a comment in the TypoScript that says so. Write such decisions down, or the next person &#8220;optimises&#8221; it away.<\/li>\n<\/ul>\n<p>INP problems usually come from big scripts that run on every click: sliders, tracking, consent tools. Here the Performance panel helps again; look for long tasks after your interactions.<\/p>\n<h2>Step 6: Measure again<\/h2>\n<p>Run the same Lighthouse command with <code>--output-path=.\/lighthouse-after.html<\/code> and compare the two reports side by side, especially the LCP element and the &#8220;render-blocking resources&#8221; section. Change one thing at a time when you can, so you know which change helped.<\/p>\n<p>That&#8217;s it. No magic extension, just images in the right size, fonts that do not hide text, and less in the head. If this post helped you, I will be really happy.<\/p>\n<h2>Further reading<\/h2>\n<ul>\n<li><a href=\"https:\/\/web.dev\/articles\/vitals\">web.dev: Web Vitals<\/a><\/li>\n<li><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTML\/Attributes\/rel\/preload\">MDN: rel=preload<\/a><\/li>\n<li><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\/@font-face\/font-display\">MDN: font-display<\/a><\/li>\n<li><a href=\"https:\/\/docs.typo3.org\/c\/typo3\/cms-core\/main\/en-us\/Changelog\/14.2\/Feature-102215-SrcsetViewHelper.html\">Feature #102215: srcset ViewHelper<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Most LCP and layout shift problems on TYPO3 pages come from oversized images, late fonts and blocking CSS. Fixes with f:image, srcset, preload and font-display, and how to measure.<\/p>\n","protected":false},"author":1,"featured_media":73,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[40,39,41,5],"class_list":["post-72","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-development","tag-css","tag-performance","tag-seo","tag-typo3"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Core Web Vitals on TYPO3: images, fonts, CSS<\/title>\n<meta name=\"description\" content=\"Improve LCP and CLS on a TYPO3 site: f:image dimensions, srcset, preloading the hero image and font, font-display and lean CSS, measured with Lighthouse.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hoja.in\/blog\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Core Web Vitals on TYPO3: images, fonts, CSS\" \/>\n<meta property=\"og:description\" content=\"Improve LCP and CLS on a TYPO3 site: f:image dimensions, srcset, preloading the hero image and font, font-display and lean CSS, measured with Lighthouse.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hoja.in\/blog\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\/\" \/>\n<meta property=\"og:site_name\" content=\"Hoja Mustaffa Abdul Latheef \u2013 Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-20T07:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hoja.in\/blog\/wp-content\/uploads\/2026\/10\/core-web-vitals-on-a-typo3-site-images-fonts-and-css.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Hoja Mustaffa Abdul Latheef\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hojaonline\" \/>\n<meta name=\"twitter:site\" content=\"@hojaonline\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hoja Mustaffa Abdul Latheef\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hoja.in\\\/blog\\\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hoja.in\\\/blog\\\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\\\/\"},\"author\":{\"name\":\"Hoja Mustaffa Abdul Latheef\",\"@id\":\"https:\\\/\\\/hoja.in\\\/blog\\\/#\\\/schema\\\/person\\\/e6fbd54c2061674d8ea3e7861d858c7b\"},\"headline\":\"Core Web Vitals on a TYPO3 site: images, fonts and CSS\",\"datePublished\":\"2026-10-20T07:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hoja.in\\\/blog\\\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\\\/\"},\"wordCount\":965,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/hoja.in\\\/blog\\\/#\\\/schema\\\/person\\\/e6fbd54c2061674d8ea3e7861d858c7b\"},\"image\":{\"@id\":\"https:\\\/\\\/hoja.in\\\/blog\\\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hoja.in\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/core-web-vitals-on-a-typo3-site-images-fonts-and-css.jpg\",\"keywords\":[\"CSS\",\"Performance\",\"SEO\",\"TYPO3\"],\"articleSection\":[\"Web development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hoja.in\\\/blog\\\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hoja.in\\\/blog\\\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\\\/\",\"url\":\"https:\\\/\\\/hoja.in\\\/blog\\\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\\\/\",\"name\":\"Core Web Vitals on TYPO3: images, fonts, CSS\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hoja.in\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hoja.in\\\/blog\\\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hoja.in\\\/blog\\\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hoja.in\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/core-web-vitals-on-a-typo3-site-images-fonts-and-css.jpg\",\"datePublished\":\"2026-10-20T07:00:00+00:00\",\"description\":\"Improve LCP and CLS on a TYPO3 site: f:image dimensions, srcset, preloading the hero image and font, font-display and lean CSS, measured with Lighthouse.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hoja.in\\\/blog\\\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hoja.in\\\/blog\\\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hoja.in\\\/blog\\\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\\\/#primaryimage\",\"url\":\"https:\\\/\\\/hoja.in\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/core-web-vitals-on-a-typo3-site-images-fonts-and-css.jpg\",\"contentUrl\":\"https:\\\/\\\/hoja.in\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/core-web-vitals-on-a-typo3-site-images-fonts-and-css.jpg\",\"width\":1200,\"height\":630,\"caption\":\"Faster TYPO3 pages\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hoja.in\\\/blog\\\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hoja.in\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Core Web Vitals on a TYPO3 site: images, fonts and CSS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hoja.in\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/hoja.in\\\/blog\\\/\",\"name\":\"Hoja Mustaffa Abdul Latheef \u2013 Blog\",\"description\":\"Notes from daily work with TYPO3, PHP and AI-assisted engineering\",\"publisher\":{\"@id\":\"https:\\\/\\\/hoja.in\\\/blog\\\/#\\\/schema\\\/person\\\/e6fbd54c2061674d8ea3e7861d858c7b\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hoja.in\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/hoja.in\\\/blog\\\/#\\\/schema\\\/person\\\/e6fbd54c2061674d8ea3e7861d858c7b\",\"name\":\"Hoja Mustaffa Abdul Latheef\",\"logo\":{\"@id\":\"https:\\\/\\\/hoja.in\\\/blog\\\/#\\\/schema\\\/person\\\/image\\\/\"},\"description\":\"Senior TYPO3 Developer at jweiland.net, TYPO3 CMS Certified Developer. I write about TYPO3 upgrades, extension development, PHP and AI-assisted engineering with Claude Code.\",\"sameAs\":[\"https:\\\/\\\/hoja.in\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Core Web Vitals on TYPO3: images, fonts, CSS","description":"Improve LCP and CLS on a TYPO3 site: f:image dimensions, srcset, preloading the hero image and font, font-display and lean CSS, measured with Lighthouse.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hoja.in\/blog\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\/","og_locale":"en_US","og_type":"article","og_title":"Core Web Vitals on TYPO3: images, fonts, CSS","og_description":"Improve LCP and CLS on a TYPO3 site: f:image dimensions, srcset, preloading the hero image and font, font-display and lean CSS, measured with Lighthouse.","og_url":"https:\/\/hoja.in\/blog\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\/","og_site_name":"Hoja Mustaffa Abdul Latheef \u2013 Blog","article_published_time":"2026-10-20T07:00:00+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/hoja.in\/blog\/wp-content\/uploads\/2026\/10\/core-web-vitals-on-a-typo3-site-images-fonts-and-css.jpg","type":"image\/jpeg"}],"author":"Hoja Mustaffa Abdul Latheef","twitter_card":"summary_large_image","twitter_creator":"@hojaonline","twitter_site":"@hojaonline","twitter_misc":{"Written by":"Hoja Mustaffa Abdul Latheef","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hoja.in\/blog\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\/#article","isPartOf":{"@id":"https:\/\/hoja.in\/blog\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\/"},"author":{"name":"Hoja Mustaffa Abdul Latheef","@id":"https:\/\/hoja.in\/blog\/#\/schema\/person\/e6fbd54c2061674d8ea3e7861d858c7b"},"headline":"Core Web Vitals on a TYPO3 site: images, fonts and CSS","datePublished":"2026-10-20T07:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/hoja.in\/blog\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\/"},"wordCount":965,"commentCount":0,"publisher":{"@id":"https:\/\/hoja.in\/blog\/#\/schema\/person\/e6fbd54c2061674d8ea3e7861d858c7b"},"image":{"@id":"https:\/\/hoja.in\/blog\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\/#primaryimage"},"thumbnailUrl":"https:\/\/hoja.in\/blog\/wp-content\/uploads\/2026\/10\/core-web-vitals-on-a-typo3-site-images-fonts-and-css.jpg","keywords":["CSS","Performance","SEO","TYPO3"],"articleSection":["Web development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hoja.in\/blog\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hoja.in\/blog\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\/","url":"https:\/\/hoja.in\/blog\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\/","name":"Core Web Vitals on TYPO3: images, fonts, CSS","isPartOf":{"@id":"https:\/\/hoja.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hoja.in\/blog\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\/#primaryimage"},"image":{"@id":"https:\/\/hoja.in\/blog\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\/#primaryimage"},"thumbnailUrl":"https:\/\/hoja.in\/blog\/wp-content\/uploads\/2026\/10\/core-web-vitals-on-a-typo3-site-images-fonts-and-css.jpg","datePublished":"2026-10-20T07:00:00+00:00","description":"Improve LCP and CLS on a TYPO3 site: f:image dimensions, srcset, preloading the hero image and font, font-display and lean CSS, measured with Lighthouse.","breadcrumb":{"@id":"https:\/\/hoja.in\/blog\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hoja.in\/blog\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hoja.in\/blog\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\/#primaryimage","url":"https:\/\/hoja.in\/blog\/wp-content\/uploads\/2026\/10\/core-web-vitals-on-a-typo3-site-images-fonts-and-css.jpg","contentUrl":"https:\/\/hoja.in\/blog\/wp-content\/uploads\/2026\/10\/core-web-vitals-on-a-typo3-site-images-fonts-and-css.jpg","width":1200,"height":630,"caption":"Faster TYPO3 pages"},{"@type":"BreadcrumbList","@id":"https:\/\/hoja.in\/blog\/core-web-vitals-on-a-typo3-site-images-fonts-and-css\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hoja.in\/blog\/"},{"@type":"ListItem","position":2,"name":"Core Web Vitals on a TYPO3 site: images, fonts and CSS"}]},{"@type":"WebSite","@id":"https:\/\/hoja.in\/blog\/#website","url":"https:\/\/hoja.in\/blog\/","name":"Hoja Mustaffa Abdul Latheef \u2013 Blog","description":"Notes from daily work with TYPO3, PHP and AI-assisted engineering","publisher":{"@id":"https:\/\/hoja.in\/blog\/#\/schema\/person\/e6fbd54c2061674d8ea3e7861d858c7b"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hoja.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/hoja.in\/blog\/#\/schema\/person\/e6fbd54c2061674d8ea3e7861d858c7b","name":"Hoja Mustaffa Abdul Latheef","logo":{"@id":"https:\/\/hoja.in\/blog\/#\/schema\/person\/image\/"},"description":"Senior TYPO3 Developer at jweiland.net, TYPO3 CMS Certified Developer. I write about TYPO3 upgrades, extension development, PHP and AI-assisted engineering with Claude Code.","sameAs":["https:\/\/hoja.in\/"]}]}},"_links":{"self":[{"href":"https:\/\/hoja.in\/blog\/wp-json\/wp\/v2\/posts\/72","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hoja.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hoja.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hoja.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hoja.in\/blog\/wp-json\/wp\/v2\/comments?post=72"}],"version-history":[{"count":1,"href":"https:\/\/hoja.in\/blog\/wp-json\/wp\/v2\/posts\/72\/revisions"}],"predecessor-version":[{"id":159,"href":"https:\/\/hoja.in\/blog\/wp-json\/wp\/v2\/posts\/72\/revisions\/159"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hoja.in\/blog\/wp-json\/wp\/v2\/media\/73"}],"wp:attachment":[{"href":"https:\/\/hoja.in\/blog\/wp-json\/wp\/v2\/media?parent=72"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hoja.in\/blog\/wp-json\/wp\/v2\/categories?post=72"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hoja.in\/blog\/wp-json\/wp\/v2\/tags?post=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}