Performance is not a feature
The choice of framework affects what JavaScript is sent to the browser. The choice of image format affects how long assets take to download. The choice of which animations to include — and how to implement them — affects how quickly the page becomes interactive. The choice of fonts, and how they are loaded, affects whether the page jumps as text renders. None of these decisions exist in isolation, and none can be entirely corrected after the fact.
This is why performance optimisation added as a final step is never as effective as performance considered from the outset. Surface-level work — compressing images, adding a caching plugin, minifying scripts — can recover some of what poor initial decisions cost. But the structural decisions that determine how the page is rendered, how assets are sequenced, and how the browser allocates its resources cannot be meaningfully addressed without touching the underlying code.
The practical implication for anyone commissioning a website is that performance is a design requirement, not a post-production task. It should be specified in the brief and verified before delivery.
Rendering strategy
The single most consequential architectural decision in a modern web project is how the HTML reaches the browser. There are three primary strategies, each suited to different content types and performance requirements.
Static generation
Server-side rendering
Edge delivery
Image handling
Images are typically the largest assets on a web page and the most significant contributors to slow loading. The decisions that govern how images are delivered have more practical effect on user-perceived speed than almost any other optimisation.
Format is the first consideration. JPEG and PNG are older formats that most content still ships in; WebP and AVIF are modern alternatives that achieve equivalent visual quality at significantly smaller file sizes. The difference can be substantial — an image that weighs 400KB as a JPEG may be 150KB as WebP and 90KB as AVIF, with no perceptible quality loss at typical screen sizes. Serving the correct format to the correct browser (AVIF where supported, WebP otherwise, JPEG as fallback) should be handled automatically by the image pipeline.
Dimensions are the second consideration. An image displayed at 600 pixels wide should not be fetched at 2400 pixels wide. This sounds obvious but it is a routine failure on template and page-builder sites, where images are uploaded at full resolution and displayed through a fixed-size container without the underlying file being scaled. The browser receives and decodes a file four times larger than it needs, then renders a quarter of the pixels.
Lazy loading is the third consideration. Images below the visible viewport should not be fetched until the user scrolls toward them. Loading all images simultaneously — including those a visitor may never reach — is a common performance failure on content-heavy pages. The critical images above the fold, particularly the largest visible element on the page, should be loaded with priority and should never be lazy-loaded.
JavaScript
JavaScript is the most expensive resource on a web page, measured by the time the browser must spend processing it. Unlike images — which are expensive to download but cheap to display — JavaScript must be downloaded, parsed, compiled, and executed before it can do anything. On lower-powered devices, that process takes meaningful time. During that time, the page may appear loaded but is not yet interactive.
The principle that governs disciplined JavaScript management is simple: load only what is needed for the current page, and defer everything that is not needed immediately. A script that powers a contact form does not need to load on the homepage. A script that manages a video player does not need to load on pages without video. An analytics library does not need to block the page render while it initialises.
Modern frameworks address this partially through code splitting — automatically dividing the JavaScript bundle into smaller pieces that are loaded only when needed. But code splitting is not a substitute for discipline about what JavaScript is included at all. A purpose-built website is lean by design. A template site, however well code-split, carries the weight of functionality that was never needed.
Third-party scripts — analytics, live chat, advertising pixels, social embeds — deserve particular scrutiny. Each introduces an external dependency over which you have no control: its size, its load behaviour, its reliability. Every unnecessary third-party script is a variable introduced into the page's performance that compounds with every other variable. The question to ask of each is not “is this useful?” but “is it useful enough to justify the performance cost?”
Fonts
Typography is central to a luxury brand's visual identity — and custom typefaces are one of the most common sources of performance problems. A web font must be downloaded before it can be displayed. Until it arrives, the browser must decide: show invisible text while waiting (Flash of Invisible Text), or show a fallback font and swap it when the custom font loads (Flash of Unstyled Text).
Both of these produce layout shift — content moving as the font loads — which is precisely what the Cumulative Layout Shift metric measures. A poorly managed web font is one of the most reliable ways to damage CLS score, and it is a particularly common issue on visually ambitious sites where typography is a considered design decision.
The correct handling involves several steps: preloading critical fonts in the document head so the browser begins fetching them early; using the WOFF2 format, which is smaller than WOFF and WOFF1; specifying font-display: swap to show a fallback immediately rather than invisible text; and size-adjusting the fallback font metric to reduce the layout shift when the custom font swaps in. This last step — adjusting the fallback font to match the custom font's dimensions as closely as possible — is the most effective way to reduce CLS from font loading.
Variable fonts, which encode an entire type family in a single file with adjustable axes, offer a further advantage: one file instead of several, and precise weight and width control without the penalty of loading separate cuts.
Core Web Vitals
Google's Core Web Vitals are three metrics that measure distinct aspects of user experience. They are used as ranking signals and are the clearest objective measure of how a website performs for real users.
Largest Contentful Paint (LCP)
Cumulative Layout Shift (CLS)
Interaction to Next Paint (INP)
The compounding effect
High performance is not the product of a single correct decision. It is the accumulation of many correct decisions, each individually small, that together determine whether a website is excellent or merely adequate.
A website that uses the correct rendering strategy, but loads images at double the necessary resolution, is not a high-performance website. A website that serves correctly-sized images in AVIF format, but loads three unnecessary third-party scripts, is not a high-performance website. A website with clean JavaScript and optimal images, but unmanaged web fonts that cause 300 milliseconds of layout shift, is not a high-performance website.
Each of these problems individually is recoverable. Together, they define a site that consistently fails to reach the standard that rewards both visitors and search engines. The compounding effect works in the other direction too: every correct decision strengthens the others. A fast server response reduces the time before images begin loading. Images that load quickly reduce the time before fonts apply. Fonts that load without layout shift ensure the page feels stable as JavaScript initialises.
This is why performance is inseparable from the broader quality of the development process. It cannot be achieved by a single specialist working at the end of a project. It is the product of discipline applied consistently, from the first architectural decision to the final deployment check. A website built with this discipline is one that continues to serve the business well — in search ranking, in user experience, and in the impression it makes — for as long as it runs.