Browser Storage
브라우저 저장소
브라우저 저장소는 브라우저 API를 통해 사람의 장치에 데이터를 저장합니다. 각 옵션은 크기, 수명, 형태 및 안전 제한이 다릅니다.
다른 예시
오프라인 앱은 IndexedDB에 임시 글을 저장하고 localStorage에 화면 설정을 저장해요. 다시 연결되면 동기화해요.
주요 부분
- 01Identity or input
- 02Policy or transformation
- 03Stored result and audit evidence
사용할 때
복구 가능한 초안, 오프라인 데이터, 캐시 또는 로컬 선택에 사용하세요. API를 데이터에 맞추세요.
다음 경우에는 사용하지 마세요
비밀이나 유일한 비즈니스 기록을 스크립트로 읽을 수 있는 저장소에 보관하지 마세요. 퇴거 및 공유 장치에 대비하세요.
코드에서 사용된 이름
localStorage / sessionStorage / IndexedDB / Cache API 출시하기 전에
Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback.
Outcome:Complete the task with 브라우저 저장소 (Browser Storage)。 User context:오프라인 앱은 IndexedDB에 임시 글을 저장하고 localStorage에 화면 설정을 저장해요. 다시 연결되면 동기화해요. Technical concept or control:브라우저 저장소 (Browser Storage)。 Why it fits:복구 가능한 초안, 오프라인 데이터, 캐시 또는 로컬 선택에 사용하세요. API를 데이터에 맞추세요. Do not use it when:비밀이나 유일한 비즈니스 기록을 스크립트로 읽을 수 있는 저장소에 보관하지 마세요. 퇴거 및 공유 장치에 대비하세요. Engineering requirements: Define inputs, outputs, contracts, and rules that must always hold. Set authorization and input checks. Define failures, timeouts, retries, one-time effects, data moves, and compatibility limits. Operations: Add useful signals and logs that hide sensitive data. Set capacity limits and write an operator guide. Test recovery and rollback. Acceptance criteria: Contract and failure-path tests pass. Data and authorization rules still hold during retries and partial failures. Check performance limits, monitoring, recovery, and rollback. Evidence and limits (evidence boundary):하나의 공식 표준이 전체 용어를 통제하지 않음. 의미는 팀, 플랫폼 또는 프레임워크마다 달라질 수 있음. Unknowns to confirm: Where the code runs, data stores, traffic shape, consistency needs, and the security boundary. Also confirm the compatibility period, service goals, and rollback limits.
이 요청을 확인하세요
Review how 브라우저 저장소 (Browser Storage) is used now. Definition: 브라우저 저장소는 브라우저 API를 통해 사람의 장치에 데이터를 저장합니다. 각 옵션은 크기, 수명, 형태 및 안전 제한이 다릅니다. Release checks: Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.