The purpose and application of hash (#) in URL
P粉494151941
P粉494151941 2023-08-22 16:15:06
0
1
520
<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粉494151941
P粉494151941

reply all(1)
P粉762730205

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!