I use AngularJS at frontend and Spring Boot and Security in Backend. The frontend structure looks like this:
and in Spring I have this classes:
The class MvcConfigurer currently looks like this:
@Configuration
public class MvcConfigurer extends WebMvcConfigurerAdapter {
@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
}
}
My question now is:
What do I have to write into the addResourceHandlers method in order to enable caching at Browser frontend.