Hacker News new | past | comments | ask | show | jobs | submit login

Storing information in the URL itself is a grossly underutilized way to allow users to control their own data. If data is stored in the URL, there is often no need to send it to a server. And since URLs are so widely-supported, sharing the data is inherently easy.

For example, it takes about 3 lines of JavaScript to store and retrieve a base64-encoded, stringified JSON object in the URL fragment (the part after the # – https://en.wikipedia.org/wiki/URI_fragment).




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: