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

IMHO you should never store the data itself in the url, only the params that you use to fetch the data. So if the page is the list of the latest 10 posts in a category, you'll store the category in the url and the sorting criteria, not the IDs of the posts themselves. On the refresh you always get the fresh data.



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

Search: