I created a plugin for a Wordpress website. Based on whether a user visited an (important) subpage, the plugin presents personalized information in the header of the website - on every page and pageload.
In the past I used a cookie that stored this information. But I learned this particular usage of cookies prevent caching and thus reduces my website performance
Now I am trying to implement the same functionality with local storage.
Question: Will the use of localstorage and presenting user specific information on the website via jQuery also slow down my website? Or will I see better performance of the website?
localStorage.setItem('entry', 'value')
localStorage.getItem('entry')
straightforward! ;) You can store many Gb like this. Need 10% empty hard drive to develop, or your browser may completly skip it without warning. Best to know it! – NVRM