Skip to content

Commit

Permalink
Removed cache headers for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
bkielczewski committed Nov 19, 2013
1 parent 56ae1aa commit c348dc3
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
@EnableWebMvc
public class WebMvcConfig extends WebMvcConfigurerAdapter {

private static final int RESOURCE_CACHE_PERIOD = 31556926;

@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
registry.addResourceHandler("images/**").addResourceLocations("images/").setCachePeriod(RESOURCE_CACHE_PERIOD);
registry.addResourceHandler("images/**").addResourceLocations("images/");
}
}

0 comments on commit c348dc3

Please sign in to comment.