As mentioned in the "schematic Http", the bookmark will be updated when the 301 status code appears. How should this be understood?

< H2 > as shown in the original words in the book: < / H2 >

clipboard.png

301

https://ryoma.top/ icon
clipboard.png

nginxicon
clipboard.png

Mar.09,2021

301 only suggests that you modify the bookmark (302 is not recommended), the browser will not automatically change the bookmark for you, you need to modify it manually. On the other hand, most browsers automatically update the latest bookmark icons after connecting to the site.


in the final analysis, HTTP is a standard, and how to implement it still depends on browsers and web programs. The original text also said "for example", specific to the implementation of the browser, now it is generally used to cache 301, that is, when it encounters this request, it will jump directly to the target address according to the cache (independent of the server). A common scenario is when configuring https. If the jump from http to https is implemented with 301, it is recommended to change it to 302 at first, to avoid the trouble of clearing the cache in case of misconfiguration (and the developer can clear the cache, but you can't let users do the same).

Menu