Trying to reduce the startup time of my instances I've come accross the taglib classpath scanning.
My application has 50mb of jars. The scanning of the tld takes 20% of the startup time.
Is there a way to disable that? I just use JSTL standard libs which are already included (gae doc for jsp)
I'd like to disable as well JSP precompilation.
I looked in the sourcecode of TagLibConfiguration http://javasourcecode.org/html/open-source/jetty/jetty-6.1.26/org/mortbay/jetty/webapp/TagLibConfiguration.java.html#line.134 and found that it respects a parameter NoTLDJarPattern
The NoTLDJarPattern paramter is configured in web.xml to reduce scanning time:
<context-param>
<param-name>org.mortbay.jetty.webapp.NoTLDJarPattern</param-name>
<param-value>test.jar|prefix-.*\.jar</param-value>
</context-param>
See this...
Jsp Jetty Configuration
Greetings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With