BAEL3771 Review Comments (#8726)

* BAEL3771: Cache Headers in Spring MVC

* BEAL3771: Cache Headers in Spring MVC

* BEAL3771: Cache Headers in Spring MVC

* BAEL:3771 Few review comments
This commit is contained in:
dev-chirag
2020-02-15 22:12:27 +05:30
committed by GitHub
parent 9e421b1247
commit 49cda16d69
3 changed files with 15 additions and 15 deletions
@@ -35,7 +35,7 @@ public class WebConfig implements WebMvcConfigurer {
WebContentInterceptor interceptor = new WebContentInterceptor();
interceptor.addCacheMapping(CacheControl.maxAge(60, TimeUnit.SECONDS)
.noTransform()
.mustRevalidate(), "/cache/*");
.mustRevalidate(), "/login/*");
registry.addInterceptor(interceptor);
}
}