I was asked this before with slight different with current question. but did not got the answer I was looking into.
My question is do I need to store md5($url) in unique index in MySQL?? I have seen this in some code actually I don’t remember..this is a large database with more than 5 million urls and the indexing is done by calling urls.
Any ideas?
Some sites uses hashing for urls in the database because they use hashes in urls say for user redirect to external url. I can’t see any reason to do this if this is not the case.