{"course":{"slug":"design-foundations","title":"Design, before Any Software","url":"https://addaly.com/learn/design-foundations","level":"beginner","track":"create"},"lesson":{"slug":"weight-is-a-design-decision","title":"The designer decides how heavy the page is","url":"https://addaly.com/learn/design-foundations/weight-is-a-design-decision","position":64,"of":74,"minutes":9,"answer":"Page weight is set by design choices (how many images, how many font weights, how large the hero) and a 3MB image exceeds the ten-second attention limit on a connection many readers have.","keyIdea":"Page weight is set by design choices (how many images, how many font weights, how large the hero) and a 3MB image exceeds the ten-second attention limit on a connection many readers have, so choose the weight deliberately rather than letting export defaults choose it."},"body":{"format":"markdown","text":"## Performance is chosen at the design stage\n\nA developer can compress an image. A developer cannot decide that the page does not need a full-bleed photographic hero, three web font families, an icon library and an animated background. Those are design decisions, and they set the floor for how fast the page can ever be.\n\nThis matters here because much of this readership, and much of their audience, is on a mid-range Android phone on a connection that is not the one in your office.\n\n## The arithmetic\n\nDownload time is size divided by throughput, and the numbers are unforgiving:\n\n```\n3 MB hero image on a 1.6 Mbps connection   ≈ 15 seconds\n300 KB hero image on the same connection   ≈ 1.5 seconds\n```\n\nFrom the loading-state lesson: ten seconds is the limit of held attention. A 3MB hero image exceeds it on its own, before any other asset has loaded, on a connection that a large number of people have.\n\nAnd on a metered plan the bytes are money. A visitor on a prepaid data pack is paying for your decorative background.\n\n## Images: the four decisions\n\n**Format.** WebP is typically 25 to 35% smaller than JPEG at comparable quality and is supported everywhere that matters. AVIF is smaller again and slower to encode. PNG is for images that need transparency or crisp flat areas, not for photographs. SVG is for anything drawn rather than photographed, and it is usually a few kilobytes.\n\n> Figure: Download time for a hero image on a 1.6 Mbps connection. Bars (seconds): 3 MB, exported at the default quality 15; 1 MB 5; 300 KB, resized and at quality 80 1.5. Ten seconds is the limit of held attention. A 3 MB hero exceeds it on its own, before a single other asset has begun to load.\n\n**Dimensions.** Serving a 2400-pixel image to a 390-pixel phone wastes roughly 85% of the bytes. `srcset` lets the browser choose:\n\n```html\n<img src=\"hero-800.webp\"\n     srcset=\"hero-400.webp 400w, hero-800.webp 800w, hero-1600.webp 1600w\"\n     sizes=\"(max-width: 600px) 100vw, 800px\"\n     width=\"1600\" height=\"900\" alt=\"...\">\n```\n\nThe `width` and `height` attributes matter separately: they let the browser reserve the space before the image arrives, which prevents the layout shifting under the reader's finger.\n\n**Quality.** JPEG or WebP at quality 75 to 80 is usually indistinguishable from 95 at roughly a third of the size. Exporting at maximum quality is a default nobody chose.\n\n**Whether the image is needed at all.** The cheapest image is the one you did not use. A flat colour, a gradient, or a small SVG pattern costs a fraction of a photograph and frequently serves the layout better.\n\nFree tools for all of this: **Squoosh** runs in a browser and shows a side-by-side comparison with file sizes as you move the quality slider. **GIMP** and **Krita** export with quality controls. **ImageMagick** and **cwebp** do it in batch from the command line.\n\n## Fonts\n\nEach weight and style is a separate file. A family with four weights plus matching italics is eight files, easily 200 kilobytes in WOFF2 for Latin alone, and far more with Devanagari or CJK coverage.\n\nThe reductions, in order of effect:\n\n1. **Use fewer weights.** Two is usually enough. This is the same restraint argument as everywhere else.\n2. **Subset to the characters you need**, which for a Latin site removes a large fraction of most fonts.\n3. **Use a variable font**, where one file covers a whole weight range and is often smaller than three static weights.\n4. **Use the system font stack**, which costs nothing at all.\n\n## Layout shift\n\nA specific and widely felt failure: content moves while the page is loading, and the reader taps the wrong thing because the button they were aiming at has been pushed down by an image that just arrived.\n\nThe causes are all reservations that were not made: images without dimensions, web fonts with different metrics from the fallback, advertisements or embeds inserted into the flow, content appearing above what is already visible.\n\nThe repairs are all design decisions: set aspect ratios on image containers, match fallback font metrics, reserve space for anything that will arrive later, and never insert content above the reader's current position.\n\n## The honest trade-off\n\nThis is not an argument that every page should be text on a white background. Images communicate, typefaces carry identity, and a page that is fast and says nothing has not succeeded either.\n\nThe argument is that weight is a design variable like any other, with a cost that somebody pays, and that it should be decided rather than defaulted. A hero photograph that carries the message is worth 300 kilobytes. The same photograph used because the layout looked empty is not worth anything, and on a slow connection it is worth less than nothing, because the reader left before the text arrived.\n\nThe test: open your own work on a mid-range phone, on mobile data, away from your office. Once. It changes what you design."},"check":{"question":"A page serves one 2400-pixel-wide hero image at JPEG quality 95, with no width or height attributes. Which single change gives the largest reduction in bytes for the typical phone visitor?","options":[{"text":"Add width and height attributes so the browser can reserve space and avoid layout shift while the image loads.","correct":false,"tempting":"Fixes a real and separate problem that changes the reading experience without reducing the bytes transferred at all."},{"text":"Convert the file from JPEG to WebP, which is typically 25 to 35% smaller at comparable quality.","correct":false,"tempting":"Delivers a genuine saving that is smaller than serving an appropriately sized file, since the image remains six times wider than needed."},{"text":"Serve a 400-pixel version to phones via srcset, since the 2400-pixel file wastes most of its bytes on a 390-pixel screen.","correct":true},{"text":"Reduce the export quality from 95 down to 80, a setting that is usually visually indistinguishable from the original at roughly a third of the resulting file size.","correct":false,"tempting":"Names a large and real saving that still leaves the browser downloading an image six times wider than the screen can show."}]},"prev":{"slug":"accessibility-beyond-contrast","title":"The accessibility requirements that are design decisions","url":"https://addaly.com/learn/design-foundations/accessibility-beyond-contrast"},"next":{"slug":"print-and-physical-output","title":"Bleed, trim and the things paper does","url":"https://addaly.com/learn/design-foundations/print-and-physical-output"},"authorship":"Founder and series editor: Dr Mustafa Mun. Written by AI models to a written standard. Source and assessment review continues. Academic review invited.","review":{"status":"Draft, open for academic review"},"cite":"Addaly (2026) 'The designer decides how heavy the page is', in Design, before Any Software. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/design-foundations/weight-is-a-design-decision (Accessed: 21 November 2026).","licence":{"name":"CC BY-NC-SA 4.0","url":"https://creativecommons.org/licenses/by-nc-sa/4.0/"},"reader":{"schema":1,"title":"The designer decides how heavy the page is","courseTitle":"Design, before Any Software","module":{"index":6,"slug":"real-screens-and-surfaces","title":"Real screens, real thumbs, real paper"},"answer":null,"keyIdea":"Page weight is set by design choices (how many images, how many font weights, how large the hero) and a 3MB image exceeds the ten-second attention limit on a connection many readers have, so choose the weight deliberately rather than letting export defaults choose it.","hero":{"kind":"figure","figure":{"t":"figure","label":"Figure","figure":{"caption":"Ten seconds is the limit of held attention. A 3 MB hero exceeds it on its own, before a single other asset has begun to load.","series":[{"highlight":true,"label":"3 MB, exported at the default quality","value":15},{"label":"1 MB","value":5},{"label":"300 KB, resized and at quality 80","value":1.5}],"title":"Download time for a hero image on a 1.6 Mbps connection","type":"bars","unit":"seconds"},"alt":"Figure: Download time for a hero image on a 1.6 Mbps connection. Bars (seconds): 3 MB, exported at the default quality 15; 1 MB 5; 300 KB, resized and at quality 80 1.5. Ten seconds is the limit of held attention. A 3 MB hero exceeds it on its own, before a single other asset has begun to load."}},"blocks":[{"t":"h2","id":"performance-is-chosen-at-the-design-stage","runs":[{"text":"Performance is chosen at the design stage"}]},{"t":"p","runs":[{"text":"A developer can compress an image. A developer cannot decide that the page does not need a full-bleed photographic hero, three web font families, an icon library and an animated background. Those are design decisions, and they set the floor for how fast the page can ever be."}]},{"t":"p","runs":[{"text":"This matters here because much of this readership, and much of their audience, is on a mid-range Android phone on a connection that is not the one in your office."}]},{"t":"h2","id":"the-arithmetic","runs":[{"text":"The arithmetic"}]},{"t":"p","runs":[{"text":"Download time is size divided by throughput, and the numbers are unforgiving:"}]},{"t":"code","lang":"","label":"Text","text":"3 MB hero image on a 1.6 Mbps connection   ≈ 15 seconds\n300 KB hero image on the same connection   ≈ 1.5 seconds"},{"t":"p","runs":[{"text":"From the loading-state lesson: ten seconds is the limit of held attention. A 3MB hero image exceeds it on its own, before any other asset has loaded, on a connection that a large number of people have."}]},{"t":"p","runs":[{"text":"And on a metered plan the bytes are money. A visitor on a prepaid data pack is paying for your decorative background."}]},{"t":"h2","id":"images-the-four-decisions","runs":[{"text":"Images: the four decisions"}]},{"t":"p","runs":[{"text":"Format.","b":true},{"text":" WebP is typically 25 to 35% smaller than JPEG at comparable quality and is supported everywhere that matters. AVIF is smaller again and slower to encode. PNG is for images that need transparency or crisp flat areas, not for photographs. SVG is for anything drawn rather than photographed, and it is usually a few kilobytes."}]},{"t":"p","runs":[{"text":"Dimensions.","b":true},{"text":" Serving a 2400-pixel image to a 390-pixel phone wastes roughly 85% of the bytes. "},{"text":"srcset","code":true},{"text":" lets the browser choose:"}]},{"t":"code","lang":"html","label":"HTML","text":"<img src=\"hero-800.webp\"\n     srcset=\"hero-400.webp 400w, hero-800.webp 800w, hero-1600.webp 1600w\"\n     sizes=\"(max-width: 600px) 100vw, 800px\"\n     width=\"1600\" height=\"900\" alt=\"...\">"},{"t":"p","runs":[{"text":"The "},{"text":"width","code":true},{"text":" and "},{"text":"height","code":true},{"text":" attributes matter separately: they let the browser reserve the space before the image arrives, which prevents the layout shifting under the reader’s finger."}]},{"t":"p","runs":[{"text":"Quality.","b":true},{"text":" JPEG or WebP at quality 75 to 80 is usually indistinguishable from 95 at roughly a third of the size. Exporting at maximum quality is a default nobody chose."}]},{"t":"p","runs":[{"text":"Whether the image is needed at all.","b":true},{"text":" The cheapest image is the one you did not use. A flat colour, a gradient, or a small SVG pattern costs a fraction of a photograph and frequently serves the layout better."}]},{"t":"p","runs":[{"text":"Free tools for all of this: "},{"text":"Squoosh","b":true},{"text":" runs in a browser and shows a side-by-side comparison with file sizes as you move the quality slider. "},{"text":"GIMP","b":true},{"text":" and "},{"text":"Krita","b":true},{"text":" export with quality controls. "},{"text":"ImageMagick","b":true},{"text":" and "},{"text":"cwebp","b":true},{"text":" do it in batch from the command line."}]},{"t":"h2","id":"fonts","runs":[{"text":"Fonts"}]},{"t":"p","runs":[{"text":"Each weight and style is a separate file. A family with four weights plus matching italics is eight files, easily 200 kilobytes in WOFF2 for Latin alone, and far more with Devanagari or CJK coverage."}]},{"t":"p","runs":[{"text":"The reductions, in order of effect:"}]},{"t":"ol","start":1,"items":[[{"text":"Use fewer weights.","b":true},{"text":" Two is usually enough. This is the same restraint argument as everywhere else."}],[{"text":"Subset to the characters you need","b":true},{"text":", which for a Latin site removes a large fraction of most fonts."}],[{"text":"Use a variable font","b":true},{"text":", where one file covers a whole weight range and is often smaller than three static weights."}],[{"text":"Use the system font stack","b":true},{"text":", which costs nothing at all."}]]},{"t":"h2","id":"layout-shift","runs":[{"text":"Layout shift"}]},{"t":"p","runs":[{"text":"A specific and widely felt failure: content moves while the page is loading, and the reader taps the wrong thing because the button they were aiming at has been pushed down by an image that just arrived."}]},{"t":"p","runs":[{"text":"The causes are all reservations that were not made: images without dimensions, web fonts with different metrics from the fallback, advertisements or embeds inserted into the flow, content appearing above what is already visible."}]},{"t":"p","runs":[{"text":"The repairs are all design decisions: set aspect ratios on image containers, match fallback font metrics, reserve space for anything that will arrive later, and never insert content above the reader’s current position."}]},{"t":"h2","id":"the-honest-trade-off","runs":[{"text":"The honest trade-off"}]},{"t":"p","runs":[{"text":"This is not an argument that every page should be text on a white background. Images communicate, typefaces carry identity, and a page that is fast and says nothing has not succeeded either."}]},{"t":"p","runs":[{"text":"The argument is that weight is a design variable like any other, with a cost that somebody pays, and that it should be decided rather than defaulted. A hero photograph that carries the message is worth 300 kilobytes. The same photograph used because the layout looked empty is not worth anything, and on a slow connection it is worth less than nothing, because the reader left before the text arrived."}]},{"t":"p","runs":[{"text":"The test: open your own work on a mid-range phone, on mobile data, away from your office. Once. It changes what you design."}]}],"check":{"question":[{"text":"A page serves one 2400-pixel-wide hero image at JPEG quality 95, with no width or height attributes. Which single change gives the largest reduction in bytes for the typical phone visitor?"}],"options":[{"text":[{"text":"Add width and height attributes so the browser can reserve space and avoid layout shift while the image loads."}],"correct":false,"tempting":[{"text":"Fixes a real and separate problem that changes the reading experience without reducing the bytes transferred at all."}]},{"text":[{"text":"Convert the file from JPEG to WebP, which is typically 25 to 35% smaller at comparable quality."}],"correct":false,"tempting":[{"text":"Delivers a genuine saving that is smaller than serving an appropriately sized file, since the image remains six times wider than needed."}]},{"text":[{"text":"Serve a 400-pixel version to phones via srcset, since the 2400-pixel file wastes most of its bytes on a 390-pixel screen."}],"correct":true,"tempting":null},{"text":[{"text":"Reduce the export quality from 95 down to 80, a setting that is usually visually indistinguishable from the original at roughly a third of the resulting file size."}],"correct":false,"tempting":[{"text":"Names a large and real saving that still leaves the browser downloading an image six times wider than the screen can show."}]}],"order":[1,3,0,2],"why":null},"prev":{"slug":"accessibility-beyond-contrast","title":"The accessibility requirements that are design decisions","minutes":9},"next":{"slug":"print-and-physical-output","title":"Bleed, trim and the things paper does","minutes":9}}}