Better HN
topnewbestaskshowjobs
Log inSign up

Silver3

1 karma · joined May 24, 2020 (6y ago) · 2 submissions

Submissions

comment 6y ago · link · parent

Aight thanks for the reply will keep this in mind

comment 6y ago · link · parent

What are the differences and pros and cons of a Database vs local storage? I'm thinking of creating a site where users can add there own urls and titles and this information should persist after the browser is closed, should I store these strings client side and tie it to there browsers local storage or tie it to some account on a database ran by me? Keep in mind there is no limit to the amount of strings a user could make and I predict there will be lots of users with at least 200 individual strings needing storage. Don't want to commit without being sure first.