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

Would you consider adding one's selection filters to the navigation hash, so that I can reload the page (or follow a link and come back) without having to re-do all of my filtering selections?



Definitely. Im a bit undecided yet, if its better to do it in the querystring or in in the hash and if its better to use the parameters like

    ?min_ram=4&min_resolution=100&max_weight=6...
or have save-button and make querystrings/hashes like

    ?preset=384
Decisions, decisions....


Query strings should be more reliable, hashes can be lost for example when using an URL shortener. Also URLs should generally be kept to under ~2000 characters, so depending on how many filters you have you might want to take the preset approach.




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

Search: