'Can embedded Tomcat serve resources without spring application processing

I have a Spring Boot application with embedded Tomcat and a file directory with images. Can Tomcat serve these images without processed by Spring application?
I know I can set spring.web.resources.static-locations to custom resource directory, and I also permit the route for requesting resources. But every request still went through the filter in application. Is there any way to prevent these requests from entering the application, just processed by Tomcat?
Because I suppose that the requests whithout processed by application can help me decrease the load for application. Is this correct?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source