Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
eatonphil
on May 12, 2022
|
parent
|
context
|
favorite
| on:
Storing State in the URL
A trick I've used on top of serializing JSON in the URL is in-browser compression with a library like pako [0] (zlib in JavaScript). This helps you get more data in before you reach the browser limit for URL length.
[0]
https://github.com/nodeca/pako
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[0] https://github.com/nodeca/pako