Whiteship
  • Home
  • 인프런 강의
  • Java
  • Spring
  • JPA
  • SDE Tips
Subscribe
Tagged

자바스크립트 캐싱

A collection of 2 posts

스프링 Resource

스프링 WebContentGenerator로 자바스크립트 캐싱하기3

2차 작업이 끝인 줄 알았으나… 컨트롤러에 직접 속성으로 js 리소스 위치 목록과 리소스 타입을 알려도록 설정할 수 있는 기능을 추가했습니다.     <bean name=”/js.do” class=”koma.base.main.JavaScriptController” p:cacheSeconds=”300″>        

  • 백기선
백기선 Jul 8, 2009 • 2 min read
HTTP

스프링 WebContentGenerator로 자바스크립트 캐싱하기

http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/servlet/support/WebContentGenerator.html 링크를 보면, WebContentGenerator가 해주는 일을 대략 알 수 있습니다. HTTP cache 헤더를 제어할 수 있는 옵션들을 제공해 줍니다. 여러가지 속성들에 따라 HTTP cache-control 헤더 내용이 달라지는데, 그 중 중요한 녀석으로 cacheSeconds가 있습니다. 이

  • 백기선
백기선 Jul 7, 2009 • 3 min read
Whiteship © 2022
Powered by Ghost