国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

angular.js - Data storage, should you put it in localstorage or service?
過(guò)去多啦不再A夢(mèng)
過(guò)去多啦不再A夢(mèng) 2017-05-15 17:01:01
0
3
821

For data storage, do you store it in local storage or service? Can you explain the advantages and disadvantages?
For example, after you log in, the login information will be used globally. Do you usually put it in local storage or service? If the data is relatively large, the storage performance is better.

過(guò)去多啦不再A夢(mèng)
過(guò)去多啦不再A夢(mèng)

reply all(3)
左手右手慢動(dòng)作

Put it in the service. It consumes a little memory, but it is much safer. Localstorage is not used much, and in practice it is rarely used by others. The specific way localstorage stores data is not clear. If other applications can also exist in it, they may affect each other.

左手右手慢動(dòng)作

localstorage exists locally
What do you mean by this service? It is stored on the server. How to compare this depends on your needs and the use of the data

漂亮男人

I have encountered pitfalls before that on iOS devices, incognito mode, localstorage and session storage cannot be used, and cannot be rewritten. . . .

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template