The server push of HTTP/2 has been removed by most browsers, what does the first screen rely on to fetch resources in advance?

📅 October 10, 2026 👁️ 12

After the server push is canceled, the first screen pre-fetches resources with two things: the early loading declaration in the document, and the 103 Early Hints status code returned by the server first. The former writes 'which resources this page needs' in the header of the response document, and the browser starts fetching when it parses it; the latter allows the server to send the headers and hints first before the complete response, shortening the gap after the first byte is received. HTTP/2 itself solves multiplexing and header compression on the same connection, not 'what the server decides to give you'.

Multiplexing solves the problem of head-of-line blocking

The specification document describes the goal of HTTP/2 as: by multiplexing complete requests and responses, and supporting request priorities, to reduce latency and head-of-line blocking; at the same time, by efficiently compressing header fields to reduce protocol overhead.

The common point of these three things is that they occur at the transport layer: multiple requests on the same connection no longer queue up against each other, and headers no longer repeat complete content in each round. They will not "race" for resources that are not declared on the page, nor will they cause the server to actively push unused files into the cache.

Why was server push removed

The push mechanism allows the server to send resources first before the client makes a request, with the idea of making the styles and scripts that the first screen depends on arrive earlier. The specification document states that it is difficult to implement in practice and has been removed from most mainstream browser engines.

The reasons for the difficulty in implementation are worth noting: the server's basis for judging that the client will soon need something is limited, and the cost of pushing incorrectly is to unnecessarily occupy bandwidth and cache; at the same time, the push and the browser's own cache judgment, priority queuing two sets of logic compete with each other, and deduplication is not thorough. After removing it, the alternative means are the two mechanisms that are still explicitly expressed by the client side.

The two available ways to fetch resources in advance

method Where to write To what extent to advance Applicable resources
Declaration of early loading within the document Page header Request when parsing the declaration, before the rendering stage Critical styles, primary images, and key scripts for the first screen
103 Early Hints Prerendering response before the complete response Arrive earlier than the document itself, can be established a connection and access resources in advance Key styles, fonts and other small essential resources
Pre-establish connection Page header statement Only save connection and handshake, do not access content Third-party resource host, image host

Pay attention to the order: The declaration loaded in advance has the widest applicability and the lowest cost; 103 requires support from a front-end gateway or framework, and the benefit is reflected in the waiting time after the first byte.

How to arrange the list of resources on the first screen

The criteria for the list is not the size, but whether the visible content on the first screen depends on it. Styles and fonts are essential, followed by the lead image in the text, and the rest are delayed. List pages and image-intensive pages are most prone to problems here: after the images are delayed loaded, the first screen becomes faster, but the captured text may become less, so the address of the key image in the text should be retained in the readable label, not just injected by the script.

This capability of automatic title image allocation can affect the stability of the list: The images of the same article are allocated by the system according to the title, the resource host and path are relatively fixed, and the declaration should be loaded in advance; If the image allocation is rebuilt each time and changes the address, the declaration will not keep up with the actual content, and the benefits will offset.

Which part of the program side and gateway side needs to be modified

The program side modifies the document structure: the declaration location of key resources on the first screen, whether the image retains a readable address, and the output level of the text and list pages. The page loading speed is significantly improved compared to traditional PHP-based content management systems, and the official capacity is about 5 million PV per machine, which is a level description rather than a commitment to the first screen time.

The gateway side changes are the protocol and prompts: whether to enable HTTP/2, whether it can send 103 early responses, and where the caching and compression of static files are located. Changes in both layers can be independently verified, and it is easier to judge the benefits from which side first by changing the document structure and then looking at the protocol switch, rather than doing both together.

Common questions

Question: Is it necessary to enable HTTP/2 now?Answer: Yes. The removal of the push does not affect the benefits of multiplexing and header compression, but only the mechanism of 'the server actively pushing resources'.

Question: Is it better to add more prefetch declarations?Answer: No. The declaration will occupy bandwidth, pulling non-first-screen resources in advance, which will delay the key content; generally, only the necessary resources for the first screen are declared.

Question: Does 103 Early Hints require program modification?Answer: Mainly supported by the front-end gateway, the program side needs to cooperate to ensure that the key styles and font addresses can be determined before the first response, otherwise, the prompts sent out will not have any resources to point to.

Related articles

When a page is embedded in an iframe of another website, where should the intercept be written in the response header?

Block nested pages have two options: X-Frame-Options only remains DENY and SAMEORIGIN two reliable values, among which ALLOW-FROM is outdated, modern browsers will ignore this response header completely when they encounter it; To do a finer-grained range of permission, you need to use the frame-ancestors instruction in the content security policy. This article explains the available scope of the two paths, why the outdated values cannot be treated as a whitelist, and gives the order of choice for embedding strategies for three interactive pages such as background forms, messages, and comments.

2026-10-10

There is a paper saying that GEO can increase visibility by about 40%, how can this number be reviewed on the site?

The widely cited limit statement in the original paper on generative engine optimization is: Under the benchmark test environment, the GEO method can increase visibility by about 40%, while the author explicitly states that the effects differ greatly across different fields. It is a common misreading to take this number as the expected return for your own site. This paper analyzes the experimental settings of this number and provides a set of in-site review paths: fixed baseline and question set, record the brand and page landing points in the answers, and then explain the model description files and collection modules that can be配合 with the upper-level site.

2026-10-10

If one of the three sites managed by the same backend is messed up in style, check which layer first.

When there is a style mess in only one site in the group, first divide the shape incorrectly and then decide which layer to check: large area images or missing style files, navigation position deviation, which is often related to the static resources and configuration of each site; only when there is a misalignment of the whole block structure or deformation of a certain column, check the template layer. This article gives the minimum action for checking per site and explains the boundary of templates, navigation, and backup under multiple sites, to avoid one change affecting the other two sites.

2026-10-10

After setting the image to lazy loading, the first screen will be faster, but will the content caught be less?

The purpose of lazy loading is to mark resources as non-critical and fetch them only when needed, thereby shortening the critical rendering path; the slow-down of the first screen is more due to rendering blocking resources, not much related to images. After setting lazy loading for images, the content written in the document remains unchanged, the change occurs in whether to retrieve it during the first rendering. This article gives a tiered approach according to the type of resources and explains the connection with the automatic title matching images and the media addresses in the sitemap.

2026-10-10

The information disclosure announcement of the password-free login module is only rated medium, what kind of content is leaked?

An announcement for the two-factor authentication and password-free login module, categorized as information leakage, rated as moderately critical, with a risk score of twelve to twenty-five. The confidentiality in the dimension string is noted as partially affected, integrity is zero, and the exploitation conditions are marked as theoretical. This article analyzes the 'moderate' from which dimensions are composed one by one, explaining that it should not be inferred specifically from leakage announcements without public details, and gives the order of closing the login state and content visibility of the self-owned site.

2026-10-10

The entry file of the peer CMS has been replaced with a tampering script, what can be read from the public issue list?

A public issue record documented two changes: The entry startup file was tampered with on June 23, 2026, and the homepage file was tampered with the next day. The issue was created on June 25 and closed on July 8. The script written first determines if the visitor came from a search engine, and then outputs the content retrieved from the external address. This article lists the order of file integrity verification, recovery paths, and verification actions after the changes.

2026-10-10

The editor module issued multiple unauthorized announcements, what standard does the backend role permission collect according to?

The access bypass公告 of the editor module is rated as moderately critical, with a risk score of thirteen to twenty-five, requiring basic attack conditions and user permission requirements. This article analyzes the reading method of the unauthorized access issues based on the announcement fields, dividing the intake into action layers: editing, submission, and publication, respectively assigned to different user groups, first confirming whether the module is enabled and then narrowing the executable range, and using content review and sensitive word filtering to maintain the last confirmation before publication.

2026-10-10

The update record of the peer program writes switching to HTTPS and blocking cache poisoning, does it count as a security fix?

In the release records of similar programs, three types of changes appear at the same time: changing the template external link from http to https, fixing HTML cache poisoning caused by bypassing query parameters, and adding configurable trusted proxy settings. All three are often written as security fixes, but the levels they solve are different. This article distinguishes transmission encryption, cache correctness, and access control one by one, and gives the order of making backups and rollbacks before upgrading, to avoid interpreting the version records as security commitments.

2026-10-10