You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Anand HS <an...@gmail.com> on 2010/02/02 01:27:06 UTC

More details required about using cacheMaxSize and cachingAllowed

Hi,
Im trying to understand the significance of using the cache  based
attributes inside the <Context> element of Tomcat configuration.

My current understanding
cacheMaxSize specifies the maximum amount of static resources that can be
cached  in work folder for a particular Host, and Web Application . The
static resources include the html , images, any other resources like
configuration files part of libraries, the libraries themselves exploded
into folders etc.

I wanted to know if my understanding is correct. If not, what are the types
of content from typical webapplication that form the part of cache.

Also , what happens if the size of static data exceed the cacheMaxSize. ?
will they be deleted automatically by tomcat. ?

Thanks,
Anand