Invisible
Infrastructure.
Explore
Internet6 STOPS · 7 MINUTE READ

Why the second visit can be faster

Explore how controlled reuse changes a web request, from cached naming information to a response stored near the reader.

The browser
STOP 1 OF 6 / Internet

Ask for a familiar resource

You return to a page or request an image you have seen before. The browser may already hold information from an earlier visit. This does not guarantee a faster load: the resource may have changed, its reuse rules may prevent caching, or the device may need to do substantial processing again.

What to notice

Previously stored information can change the work required.

Why it matters

Reuse can avoid repeating an eligible operation.

Inside The browser
1 / 6
Read the complete journey
  1. 1

    Ask for a familiar resource

    You return to a page or request an image you have seen before. The browser may already hold information from an earlier visit. This does not guarantee a faster load: the resource may have changed, its reuse rules may prevent caching, or the device may need to do substantial processing again.

    Notice: Previously stored information can change the work required.
    Why: Reuse can avoid repeating an eligible operation.

    Explore The browser
  2. 2

    Reuse a valid naming answer

    A resolver can reuse DNS records while their caching rules permit it, avoiding some repeated lookups. This is a cache of naming data, not a saved copy of the website. A valid DNS answer can shorten one dependency without changing the work needed to fetch and render the page itself.

    Notice: A cached DNS record supplies naming information only.
    Why: A reused lookup can shorten discovery without retrieving the page.

    Explore DNS & domain names
  3. 3

    Check whether a stored response is reusable

    For an HTTP response, the cache checks the relevant request and response metadata and freshness rules. If a usable fresh response is available locally, a download may be avoided. Some cases instead require validation with a server, which can save the body transfer while still involving a network exchange. Eligibility matters.

    Notice: Freshness and validation rules determine response reuse.
    Why: The cache must distinguish a suitable copy from merely stored data.

    Explore Caches & content delivery
  4. 4

    Reach a closer serving location if needed

    When the browser must fetch a resource, a distributed service may direct it to a nearby or otherwise suitable serving point. The selected point need not be the geographically closest one. Provider policies, routing, load, and availability influence selection, so the diagram makes no promise about a particular distance or speed.

    Notice: A selected serving point can differ from the origin.
    Why: Distributed delivery can reduce some travel and origin work.

    Explore Network interconnection
  5. 5

    Go to the origin when the copy is insufficient

    If the serving cache lacks a suitable response, it may retrieve one from the origin or another upstream service. The origin may generate fresh content. The response’s caching instructions then affect future reuse. Different resources on the same page can have different rules and take different paths. Different resources can have different reuse rules.

    Notice: A miss or unsuitable response requires upstream work.
    Why: The origin remains necessary when a reusable copy cannot answer.

    Explore Web servers & HTTP
  6. 6

    Render the result again

    The browser still needs to assemble the resources into a usable page. Reusing data can reduce network work without eliminating layout, painting, or script execution. The visible benefit depends on which part of the experience was slow. Caching is a targeted optimisation, not a universal cure for delay. Rendering remains real work.

    Notice: The browser still assembles the visible result.
    Why: Network reuse does not eliminate local document processing.

    Explore The browser
MAKE THE CONNECTION

Can a cached DNS answer replace an HTTP download?

Reveal the explanation

No. It reuses naming information. Avoiding an HTTP body download requires an eligible response cache or another application mechanism, with its own reuse rules.

Sources & further reading

Original explanations informed by these sources. Diagrams are conceptual; local systems differ.

  1. RFC 1034: Domain names — concepts and facilities IETF / RFC Editor; P. Mockapetris · 1987-11 · Source & rights record
  2. RFC 9111: HTTP Caching IETF / RFC Editor; R. Fielding, M. Nottingham, and J. Reschke (editors) · 2022-06 · Source & rights record
  3. RFC 9110: HTTP Semantics IETF / RFC Editor; R. Fielding, M. Nottingham, and J. Reschke (editors) · 2022-06 · Source & rights record
  4. Populating the page: how browsers work MDN Web Docs / Mozilla contributors · Not stated · Source & rights record
  5. The Internet Way of Networking: Defining the critical properties of the Internet Internet Society · 2020-09-09 · Source & rights record
KEEP EXPLORING

Another way through the system.