티스토리 뷰

Web

웹 브라우저 DB

조용한스택 2020. 8. 1. 00:14

1. Web Storage API

2. Cache Storage API

3. Indexed DB
It can have large amount of data

4. Session Storage

SessionStorage is tab specific, and scoped to the lifetime of the tab. It may be useful for storing small amounts of session specific information, for example an IndexedDB key. It should be used with caution because it is synchronous and will block the main thread. It is limited to about 5MB and can contain only strings. Because it is tab specific, it is not accessible from web workers or service workers.

5. Local Storage

LocalStorage should be avoided because it is synchronous and will block the main thread. It is limited to about 5MB and can contain only strings. LocalStorage is not accessible from web workers or service workers.

6. Cookies

Cookies have their uses, but should not be used for storage. Cookies are sent with every HTTP request, so storing anything more than a small amount of data will significantly increase the size of every web request. They are synchronous, and are not accessible from web workers. Like LocalStorage and SessionStorage, cookies are limited to only strings.

7.  Native File System API

The Native File System API was designed to make it easy for users to read and edit files on their local file system. The user must grant permission before a page can read or write to any local file, and permissions are not persisted across sessions.

 

'Web' 카테고리의 다른 글

웹 소켓  (0) 2021.11.11
인증 서버  (0) 2020.11.03
DOM  (0) 2020.07.31
git 에러 별 명령어  (0) 2020.06.08
Servlet  (0) 2020.05.29
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함