Skip to content

Commit

Permalink
Update Post.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yagmurcelk authored Feb 5, 2025
1 parent 515ff17 commit 14ac2ee
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# When to Use Cookies, When to Use Local Storage?

![cover](cover.png)



## Cookies vs Local Storage

When you want to save client-side data on browsers, you can use `Cookies` or `Local Storage` of the browser. While these methods look similar, they have different behaviors. You need to decide based on the specific use-case, security concerns and the data size being stored. I'll clarify the differences between these methods.
Expand Down Expand Up @@ -60,4 +56,4 @@ When you want to save client-side data on browsers, you can use `Cookies` or `Lo
In many cases, you might use both cookies and local storage, depending on the specific requirements of different parts of your application. There are also other places where you can store the client-side data. You can check out [this article](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Client-side_web_APIs/Client-side_storage) for more information.


Happy coding 🧑🏽‍💻
Happy coding 🧑🏽‍💻

0 comments on commit 14ac2ee

Please sign in to comment.