Question about template caching
Hi all,
We are trying to reduce the amount of network IO on our file server and we can see that a very large amount of this is coming from our webservers reading Coldfusion source code. We were under the impression that Coldfusion compiled and cached the source code in memory and we were not expecting to see this amount of traffic.
We did some reading up on the subject and it looks like Coldfusion does indeed compile and cache the source code but the way it does this is very configurable. I read the articles http://blogs.sanmathi.org/ashwin/2006/07/12/tangling-with-the-template-cache/ and http://www.adobe.com/devnet/server_archive/articles/server_caching_cf.html which explain how if the maximum number of cached templates is too small then the cache will remove old templates when new ones are requested which would lead to additional file access. We do have a very large number of .cfm files so this sounded like a plausible problem.
However, after checking cfstat for the 'cache pop' rate (as indicated in the above article) it is saying that it is -1.
I can't find any information on what -1 means and it wasn't what I was expecting! Does anyone know?
Thanks
