Jeonghwan Kim 1/18/2015

$resource 캐쉬 설정

Read Original

이 글은 AngularJS에서 백엔드 리소스를 추상화하는 $resource 서비스의 캐시 활용법을 다룹니다. $cacheFactory를 사용한 캐시 저장소 생성, 데이터 저장/조회 방법과 $resource에 cache: true 옵션을 적용하여 HTTP 응답을 캐싱하는 방법을 설명합니다. 또한 캐시 데이터를 갱신하거나 제거하는 방법에 대해서도 다룹니다.

$resource 캐쉬 설정

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

2
Designing Design Systems
TkDodo Dominik Dorfmeister 2 votes
4
Introducing RSC Explorer
Dan Abramov 1 votes
6
Fragments Dec 11
Martin Fowler 1 votes
7
Adding Type Hints to my Blog
Daniel Feldroy 1 votes
8
Refactoring English: Month 12
Michael Lynch 1 votes
10