This hack enables you to use your solid pod as a URL shortener. There are many reasons you might do this in normal life, however in Solid it becomes even better. This is because many client side apps derive their content from the query string. This can be up to 100k big so is impractical to share.
Open source tab
Create a new file xxx.html in a given directory
Add the code
Now when you click on that file it will take you to the longer URL. And we're done!
Tip 1 The idea behind short urls is that urls should be as short as possible. So when thinking about a place to put your short urls, we could standardize around a directory with as few characters as possible. Possible places to put this would be
u for URL shortener?
Tip 2 The shortener can also double as a URL redirector. This has lots of unexpected reuse, as we shall see later!
Wikipedia article : https://en.wikipedia.org/wiki/URL_shortening