Home  >  Q&A  >  body text

The purpose and application of hash (#) in URL

<p>I was wondering if there are other uses for hashes besides being an anchor in a URL? I read about it here Get the full URL including the hashed query string. What is the client's status information? please help. </p>
P粉494151941P粉494151941424 days ago528

reply all(1)I'll reply

  • P粉762730205

    P粉7627302052023-08-23 11:27:04

    Hashes can also be used in single-page applications, so not only can you use it to navigate to a point in a page, you can also use hashes as a means of navigating from one page to another. The advantage of this is that there is no need to refresh the page.

    There is also a method called hash collision, which is used in single page applications to help ajax applications be easier to index.

    There are some good articles on this topic

    reply
    0
  • Cancelreply