Page speed checklist: 30 rules for faster load times
These rules cover server response time, the byte cost of HTML, CSS, JavaScript and images, and whether the browser fetches key resources early. These costs tend to grow with the frontend: large JavaScript bundles, inline SVG icons, large images and custom web fonts. Most rules concern load time for users, not a Google Search requirement.
Check TTFB and the compression of HTML and text files first: both are usually fixed on the server and affect every page. Many other rules measure against a budget, such as bytes per image. You set that budget; Google names no limits for it. FCP and TTFB are supporting metrics, not Core Web Vitals.
30 rules25 run dailyGoogle evidence checked on
Partly backed2 · 7%
Google backs part of the rule. The rest goes further or is narrower.
No Google statement9 · 30%
Google does not address it directly. That does not make the rule useless.
Outside Google Search19 · 63%
It concerns accessibility, security, law or users, not Google Search.
Speed and page weight 30
No Google statementRuns daily
Decoded HTML stays within the set byte budget
Check
Looks at the HTML size after decompression, not the compressed transfer size or total page weight. Fails when it exceeds the site owner's budget.
Fix
Strip redundant markup, embedded data and needless inline payloads without hiding essential content.
Google
Google's documentation names no size limit for decoded HTML. Its advice to compress HTML concerns transferred bytes, not decoded size.
The HTML response stays within the set byte budget
Check
Compares the size of the HTML response, transferred or decoded depending on the chosen metric, with the site owner's budget for that template. Fails when the response is larger.
Fix
Remove unneeded inline data, split long lists across several pages and compress the response without cutting essential content.
Google
Google's documentation sets no byte budget for HTML documents. It recommends compressing text responses such as HTML in general, so they download faster.
Assesses the duration of an ordinary HTML fetch under defined client, network and cache conditions. Fails when the defined metric exceeds the site owner's budget.
Fix
Break the response time into its phases and fix the bottleneck in the server, caching or transfer.
Google
Google's TTFB covers only the time to the first byte. For the full HTML fetch duration measured here, Google's documentation names no threshold.
Each image stays within the transfer budget for its role
Check
Compares the transferred size of each successfully loaded image with the budget the site owner set for its role, such as hero image or thumbnail. Fails when an image exceeds its budget.
Fix
Resize and re-encode the image at acceptable quality and offer responsive image sources.
Google
Google's documentation sets no fixed transfer size for images. It recommends efficient formats in general so images load faster.
Inline JavaScript stays within the set byte budget
Check
Measures the bytes of executable inline <script> blocks; data blocks such as JSON-LD do not count. Fails when the total exceeds the site owner's budget.
Fix
Reduce duplicate inline logic and move reusable code into external, cacheable files.
Google
Google's documentation names no byte limit for inline JavaScript. Its general advice is to transfer text resources such as JavaScript compressed.
Counts the bytes of all <svg> elements embedded directly in a page's HTML. Fails when they exceed the site owner's budget without an approved exception.
Fix
Clean up paths and metadata, merge duplicate icons, or move SVGs into files when caching measurably pays off.
Google
Google's documentation has no byte limit for inline SVG. It advises compressing text resources, SVG included, in general.
Measures how long public URLs take to respond under defined test conditions. Fails when reliable measurements exceed the time budget the site owner set.
Fix
Investigate latency, caching, backend work and server load, then start with the slowest part.
Google
Google's documentation sets no threshold for this response duration. Google's TTFB metric covers only the time to the first byte, which is a different measurement.
Looks for synchronous classic scripts on the critical rendering path; JSON-LD does not count as executable. Fails when a nonessential script demonstrably delays the first render.
Fix
Load noncritical scripts with defer or as modules, or remove them, without breaking dependencies.
Google
Not a Google Search topic; this is about load time. Google's Chrome documentation says render-blocking requests can delay the first render and LCP, and suggests deferring or inlining them.
Connections to critical third-party origins open early
Check
Examines other origins that serve critical resources. Fails when connection setup costs measurable time and an approved preconnect hint would fix it.
Fix
Add preconnect only for truly critical origins, with the correct crossorigin mode.
Google
A load-time matter outside Google Search. Google's web developer guides recommend preconnect, on pages with many cross-origin resources, only for the most critical ones.
Tests whether the effective Cache-Control policy of HTML documents meets the freshness and privacy requirements. Fails when the policy is missing, ineffective or conflicts with them.
Fix
Set fitting Cache-Control directives and validators such as ETag, and use no-store where private content requires it.
Google
This falls under load time and privacy rather than Google Search. Google's web developer guides distinguish no-cache (revalidate before use), no-store (never store), and private versus public.
When the client offers gzip, Brotli or another encoding via Accept-Encoding, the server should compress HTML documents. Fails when a sizable document still arrives uncompressed.
Fix
Turn on gzip, Brotli or another compatible encoding for HTML responses as well.
Google
This concerns load time, not Google Search. Google's web developer guides explicitly recommend compressing text-based responses, HTML included.
The rendered page stays within its DOM element budget
Check
Counts the elements in a template's rendered DOM, not in the initial HTML. Fails when the count exceeds the agreed budget.
Fix
Remove redundant wrapper elements; paginate or virtualize long lists only where the content stays accessible.
Google
Not a Google Search topic; this is about browser responsiveness. Google's Chrome documentation explains that a large DOM lengthens style calculation and layout and uses more memory.
Looks for libraries or modules a page loads more than once, for example in two versions or two bundles. Fails when the same functionality ships twice without a justified reason to keep it separate.
Fix
Remove redundant imports or merge compatible versions of the same dependency.
Google
This concerns load time, not Google Search. Google's Chrome documentation recommends removing large duplicate JavaScript modules from bundles to avoid needless network bytes.
Web fonts follow a deliberate `font-display` strategy
Check
Reads the font-display value of each used web font and holds it against the chosen policy for visible text. Fails when a font blocks text rendering unintentionally.
Fix
Pick swap, optional or fallback to suit each font, then test text visibility and layout.
Google
A user experience matter outside Google Search. Google's web developer guides explain that browsers block text until the web font loads by default and that font-display controls this; swap is not mandatory everywhere.
Delivered images match display size and pixel density
Check
Takes the image file the browser actually selects and checks it against its rendered size and the device pixel ratio. Fails when the file is clearly oversized or too low in resolution.
Fix
Provide fitting srcset and sizes values or <picture> sources where they save bytes without lowering quality.
Google
A load-time matter outside Google Search. Google's web developer guides explain responsive image candidates through srcset but prescribe no particular number of variants.
Determines how many bytes safe minification would save in captured JavaScript files. Fails when the savings exceed the agreed budget.
Fix
Switch on minification in the production build pipeline and test how the page behaves.
Google
This concerns load time, not Google Search. Google's web developer guides say minification shrinks scripts so the browser downloads them faster and can parse them sooner.
The LCP resource is discovered early and prioritized
Check
Examines the measured LCP resource, such as an image, video poster or background image. Fails when a performance trace shows avoidable delay in discovering or prioritizing it.
Fix
Add a matching preload or fetchpriority="high" where justified, and check that the file is not downloaded twice.
Google
Not a Google Search topic; this is about load time. Google's web developer guides recommend making the LCP resource discoverable in the initial HTML and giving high priority to one or two images at most.
Determines which protocol a representative connection actually negotiates. Fails when it stays on HTTP/1.x against the chosen protocol target.
Fix
Turn on HTTP/2 or HTTP/3 at the server or CDN and verify which protocol is actually negotiated.
Google
A load-time matter outside Google Search. Google's Chrome documentation says HTTP/2 serves resources faster and with less data; HTTP/3 is not required.
Checks whether noncritical images outside the initial viewport are deferred, through loading="lazy" or an equivalent method. Fails when such images load eagerly against the chosen loading policy.
Fix
Lazy-load images further down the page and keep the LCP image and other critical images loading eagerly.
Google
Not a Google Search topic; this is about load time. Google's web developer guides recommend native lazy loading for offscreen images so the browser fetches visible content first.
Checks the cache headers of versioned CSS, JavaScript, image and font files. Fails when one of them demonstrably misses the cache policy the site owner set.
Fix
Version static file URLs on every change and give those files a long, safe cache lifetime.
Google
Not a Google Search topic; this is about load time. Google's web developer guides explain directives such as no-cache, no-store, private and public but set no minimum lifetime.
Covers CSS, JavaScript, JSON, XML, SVG and text files above a minimum size the site owner sets. Fails when one of them demonstrably reaches the client uncompressed.
Fix
Enable gzip or Brotli for text files and confirm that the server negotiates the encoding through Accept-Encoding.
Google
This concerns load time, not Google Search. Google's web developer guides recommend compressing text-based responses such as JavaScript, CSS and SVG so they download faster.
Modern browsers get no unnecessary legacy JavaScript
Check
Matches the delivered JavaScript against the defined list of supported browsers. Fails when browsers receive transpiled code or polyfills that this list does not require.
Fix
Align transpilation targets and polyfills with the supported browsers, or serve legacy code separately.
Google
A load-time matter outside Google Search. Google's Chrome documentation advises against transpiling Baseline features unless you must support older browsers.
Checks the loading behavior of images inside the initial viewport. Fails when loading="lazy" demonstrably delays a critical image such as the LCP image.
Fix
Drop loading="lazy" from critical visible images and keep it for images further down.
Google
This concerns load time, not Google Search. Google's web developer guides explain that loading="lazy" can delay the LCP image because the browser waits for layout before fetching it.
Measures FCP on eligible public pages, with lab or field data labeled as such. Fails above 1,800 ms; above 3,000 ms the value also counts as poor.
Fix
Shorten delays on the critical rendering path, and confirm the cause with a performance trace first.
Google
Google recommends an FCP of 1.8 seconds or less at the 75th percentile of page loads, split by mobile and desktop. FCP is a supporting metric, not a Core Web Vital.
Measures TTFB, the time from the start of navigation to the first byte of the response. Fails above 800 ms; above 1,800 ms the value also counts as poor.
Fix
Trace the delay through the timing phases to the server, cache, redirects or network.
Google
Google gives 0.8 seconds or less as a rough TTFB guide. The rule also accepts a request-to-headers measurement, which is only a proxy, not browser TTFB or a field value.
Images meet both the byte budget and the quality target
Check
Compares the transferred bytes of selected images with the budget the site owner set per page or file. Fails when an image exceeds it or compression drops below the required quality.
Fix
Resize, compress harder or switch to a more efficient format while keeping the required quality.
Google
Google's documentation gives no general byte budget for images. It only notes that modern formats can make files smaller.
For confirmed animated images with real weight, checks whether a smaller equivalent format exists. Fails when the animation exceeds its budget and a suitable alternative is available.
Fix
Replace large animated GIFs with an efficient animated format or a muted looping video that keeps user controls and respects reduced motion.
Google
Not a Google Search topic; this is about load time. Google's web developer guides explain that animated GIFs can get very large and compare them with video alternatives.
For raster images with real transfer cost, tests whether a supported format would need clearly fewer bytes at the same quality. Fails when measurements show such savings.
Fix
Serve an efficient format such as WebP or AVIF, provided it keeps transparency, animation and the required quality and your target browsers support it.
Google
This concerns load time, not Google Search. Google's web developer guides say WebP and AVIF may compress better than PNG or JPEG, without setting quotas or fixed savings.