Tuesday, May 14, 2019

php - website performance: from cookies to local storage

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?

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...