Jeonghwan Kim 18.01.2015

$resource 캐쉬 설정

Read Original

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

$resource 캐쉬 설정

comentarii

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet