Static Resource Optimization
Learn Static Resource Optimization (Performance Optimization, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Fresher Notes Static resources : CSS, JavaScript, images and fonts served as files; Spring Boot serves them from /static , /public and /resources on the classpath. Goal : make them small and cacheable, so pages load fast and the server does less work. ResourceHandlerRegistry : in a WebMvcConfigurer , addResourceHandlers maps URL patterns to locations and sets caching.