반응형 SMALL cache1 캐시(Cache) 캐시란?동일한 요청에 대해, 기존에 계산한 결과를 재사용해 응답 속도를 향상시키는 기술 캐시 위치설명 메모리(Local)서버 내 메모리에 저장, 간단하고 빠름Redis 등 외부 캐시분산 캐시, 다수 서버에서 공유 가능1. Spring Boot 캐시 기본 설정의존성 추가 (Spring Boot Starter Cache)implementation 'org.springframework.boot:spring-boot-starter-cache'@EnableCaching 설정 추가@SpringBootApplication@EnableCachingpublic class MyApplication { public static void main(String[] args) { SpringApplicatio.. 2025. 4. 16. 이전 1 다음 LIST