On my site I have internal links to URLs with hashes in them, like this one:
https://example.com/page.html#music
https://example.com/page.html#music
has canonical tag with URL pointing to https://example.com/page.html
. Hashes do not change content of the page in any way.
Google (and other search engines) cutscut out hashes in URLs and index pages without hashes.
But dois Google's crawl budgedbudget and/or link juice (internal PageRank) get wasted to such URLs with hashes or not?