Open mehedi-shafi opened 1 year ago
First of all, thanks for your comment. Really appreciate your help.
Yes, you are right. We can optimize our table schema to avoid storing the same URL for different shortened URLs. However, we assumed this case is rare and released the previous version without addressing this. We will try to incorporate this feature in our next release.
Thanks again. Please feel free to raise issues and PRs.
Right now, with the same URL passed multiple times will generate different shortened URLs.
e.g. Main URL: https://github.com/shuhanmirza/surelink
shortened URL 1: https://surel.ink/tSH81C shortened URL 2: https://surel.ink/ttib=e
Maybe it's worth re-using the previously generated shortened LINK for the public version?