Nektarios is developing a drupal plugin that will make use of urlBorg. He asked me why, urlBorg creates a new short URL every time he makes an API call, even if the target URL is the same. Wouldn’t it be reasonable to get the same short URL? Isn’t it a waste of resources (i.e. storage space) to create and store a new short URL every time?
This is one of the main design decisions I had to do when I started developnig urlBorg. And I’ve changed my mind a couple of times. But I think that creating a new short URL is the right way to go. Here is why.
The creation of a short URL is a “gesture of attention” (if you are not familiar with the term, read Geting a piece of the action: The attention economy). An if a URL shortener is worth something, this is because it is a good database of two kind of “gestures”:
- the one is when someone manifests his interest on a specific URL, by creating a short URL for it.
- the other is when someone clicks on the short URL.
urlBorg keeps track of both. The click stats are visible to anyone, the just have to add /i at the end of a urlBorg short URL, like this
Pingback: vrypan|net|log » how to avoid multiple short URLs in urlBorg API (= ‘create_or_reuse’)
Pingback: vrypan|net|log » understanding URL shorteners: compression, power and attention