tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Is caching tags in SimpleTags a good idea?
Date Wed, 12 Oct 2011 15:59:30 GMT
I've been working with someone who has deeply nested SimpleTags (generated from jsp source)
that use a lot of regular Tags.  By default the jasper generated code for the SimpleTags caches
the plain Tags.  Since SimpleTags per spec are never cached and are always single-use, it
seems pretty implausible that caching the plain tags in a SimpleTag would produce a performance
benefit and indeed profiling shows it is slower than just turning off all tag caching.

Does anyone have any arguments against eliminating caching for tags used in generated SimpleTags?
 If not I'll work on a patch.

thanks
david jencks


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message