s icon indicating copy to clipboard operation
s copied to clipboard

Already a s.goel.im url.

Open rjain11 opened this issue 11 years ago • 1 comments

While testing this I encountered something that can be changed and lead to more optimization. You could have a check if the url entered is already a s.goel.im url?

Because when I tried it, I could enter an already shortened url and it would assign it another s.goel.im shortened url.

Its a great hack though! Cheers!

rjain11 avatar Aug 07 '14 13:08 rjain11

Yes. So the idea of s is to have a "template" for a really-fast URL shortener that anyone can get started. Checking for an existing URL would actually take more time than just making one. But yes, it's a totally valid thing to do if everything is on disk and not in memory.

Let me know if you decide to work on it.

karan avatar Aug 07 '14 14:08 karan