News for hackers. Stuff that matters.
Re:A URL Lengthener by nayuki on Saturday May 15, 2021 @10:10AM (#27165381)
A nice feature is that when you design a URL lengthener, you can make the service stateless. The backend doesn't need to store every URL that it was ever given. This contrasts with URL shortener services, which must store state in order to generate very short URLs. (In theory, shorteners can use stateless compression like zlib, but it wouldn't save enough space to be worth it.)
Re:A URL Lengthener by piemadd on Saturday May 15, 2021 @01:27PM (#27167128)
funnily enough, thats exactly what the lengthener is doing!