[KongchangAI]
Conceptfragment hash / URL片段哈希

Fragment Identifier

The portion of a URL following the # symbol. It is parsed on the client side and does not trigger a page reload. It is often used by single-page applications and plugin systems as a lightweight means of state synchronization, and changes can be detected through the hashchange event.

Timeline (last 90 days)

Nov 24

Version 0.7a1 enhances the iframe sidebar navigation logic's handling of URL fragment hashes.

Unverified50%
Nov 24

The goal of the improvements in version 0.7a1 is deeper integration with other Datasette plugin implementations that update the fragment hash on user interaction to change state.

Unverified50%
Nov 24

The fragment hash is the part of a URL after the # symbol.

Unverified50%
Nov 24

Changing the fragment hash does not trigger a page reload and does not send a request to the server.

Unverified50%
Nov 24

Frontend code can use the hashchange event to detect changes to the fragment hash and perform partial updates.

Unverified50%
Nov 24

The fragment hash differs from the query string: the former is parsed entirely on the client and never reaches the server, while the latter is sent to the server with the request.

Unverified50%

All Facts (6)

Source Articles