Class CachingWebAppClassLoader

All Implemented Interfaces:
Closeable, AutoCloseable, org.eclipse.jetty.util.ClassVisibilityChecker

@ManagedObject public class CachingWebAppClassLoader extends WebAppClassLoader

A WebAppClassLoader that caches found and not-found getResource(String) results.

Specifically this ClassLoader caches not-found classes and resources, and found resources (found classes are already cached by URLClassLoader), which can greatly increase performance for applications that search for resources.