this is the data I want to store. Is it better to store it in Cookie or LocalStorage?
{
code:200,
msg:"",
"user_id": 3,
"user_type": 2
data:{
expire:7200, -sharp
token:"9mzdDZXu3dENdFZQurfg0Vz8slgSgvvOAUebNFzyzcpQ5EnbxbF+hfG9DQkpUVQdh
4p6HbQcAiz5RmuBAja1JJGgIdJI", -sharptoken
}
}
Cookie is carried in HTTP headers every time. Does putting this data in Cookie cause performance problems?