Skip to content
scroll to zoom · drag to pan

IMAGE_ROLE_WARM

const IMAGE_ROLE_WARM: {
avatar: readonly [96];
card: readonly [400, 480, 600, 800, 960, 1280];
dialog: readonly [600, 640, 800, 1280, 1440, 1920];
fullscreen: readonly [800, 960, 1080, 1280, 1920, 2560];
gallery: readonly [640, 800, 960, 1280, 1440, 1920];
hero: readonly [800, 1280, 1440, 1920, 2560, 3840];
office: readonly [400, 480, 600, 800, 960, 1280];
rail: readonly [240, 320, 400, 480, 600, 800];
thumbnail: readonly [96, 128, 180, 256];
tile: readonly [320, 400, 480, 640, 800, 960];
};

Defined in: packages/asset-client/src/ladders.ts:79

The rungs worth warming per role (owner 2026-10-17: «calentar los 6 más pedidos es suficiente, lo demás a demanda»). The whole ladder stays available; only these are encoded ahead of the first visitor. Chosen from what the ladder serves across the audited viewport × DPR matrix, weighted by the real device mix (desktop 70% / mobile 30%, Cloudflare clientDeviceType on 8ok.uk, 7 days to 2026-10-17), traffic per width as the tie-break. A role with 6 rungs or fewer is warmed whole. Method and numbers: docs/claude-sessions/2026-10-17-doc02-image-ladder/README.md in neo-platform («Why this ladder»).

readonly avatar: readonly [96];
readonly card: readonly [400, 480, 600, 800, 960, 1280];
readonly dialog: readonly [600, 640, 800, 1280, 1440, 1920];
readonly fullscreen: readonly [800, 960, 1080, 1280, 1920, 2560];
readonly gallery: readonly [640, 800, 960, 1280, 1440, 1920];
readonly hero: readonly [800, 1280, 1440, 1920, 2560, 3840];
readonly office: readonly [400, 480, 600, 800, 960, 1280];
readonly rail: readonly [240, 320, 400, 480, 600, 800];
readonly thumbnail: readonly [96, 128, 180, 256];
readonly tile: readonly [320, 400, 480, 640, 800, 960];