This note preserves the original context of the Facebook post. Some tools, interfaces, and external links may have changed.

This post contains a working example related to mobile-first content indexing.
The website in the case uses Dynamic Serving, and the server will return different versions of HTML based on the User-Agent, but the URL remains the same.
This approach requires attention to whether the cache server knows that the response content will change with the User-Agent, so the case specifically checks the Vary: User-Agent HTTP Response Header.
If the cache only saves a copy of the HTML, it may mistakenly serve the desktop version to mobile users, or the mobile version to desktop users.
This content was published in 2020, and the policy background of mobile indexing may be different from today’s implementation environment.
The long-term caveat is that whenever the same URL returns different content based on request conditions, caching, crawling, and user experience must be examined together.
Related reading
Three core indicators of website experience - LCP, FID, CLS
Website experience indicators (Web Vitals) were proposed by Google in May 2020, with the aim of developing a set of UX measurement indicators suitable for all websites. This article introduces this project and various measurement methods.
How Search Engines Work: Crawling
Crawling is the first step in search. A crawler starts with a URL, visits it, discovers more URLs, and repeats the cycle. The concept sounds simple, but it contains many important SEO details.
Web Story⚡ - SEO’s next battleground
Web Stories (formerly AMP Stories) have an interface similar to real-life dynamics, which can improve the stickiness of the content and can be searched by search engines. In recent years, Web Stories have appeared in more search blocks, making Web Stories even more important to website traffic.
Can search engines really see the content generated by JavaScript?
Saves a practical note on using the Search Console URL inspection tool to confirm whether JavaScript content is rendered, and links back to the basic article on search engine crawling and indexing.
Core Web Vitals official Q&A: historical notes on scores, information and rankings
Save the official Q&A compiled before the launch of Core Web Vitals in 2021, focusing on the data calculation methods and ranking impact boundaries of LCP, FID, and CLS.
What happens after entering the URL: from Request to Status Code
Use a simplified web page request process to understand how Request Headers, Response Headers and 2XX, 3XX, 4XX, and 5XX status codes describe the results of resources.