View comments | RSS feed
Contents > Configuring and Administering ColdFusion MX > Basic ColdFusion MX Administration > Server Settings section > Caching page PreviousNext

Caching page

The Caching page of the Administrator contains configuration options that you can set or enable to cache templates, queries, and data sources. These options can significantly affect server performance. The following table describes the settings:

Setting

Description

Template cache size (number of templates)

Enable this option to limit the memory reserved for template caching. For best performance, set this to a value that is large enough to contain your application's commonly accessed ColdFusion pages, yet small enough to avoid excessive reloading. You can experiment with a range of values on your development server; a suitable starting point is one page per MB of JVM size.

Trusted cache

Enable this option if you want ColdFusion MX to use cached templates without checking whether they changed. For sites that are not updated frequently, using this option minimizes file system overhead.

Save Class Files

Select this option to save to disk the class files generated by the ColdFusion bytecode compiler. During the development phase, it is typically faster to disable this option.

Cache web server paths (Server configuration only)

Select this option to cache ColdFusion page paths for a single server. Deselect this option if ColdFusion MX connects to a web server with multiple websites or multiple virtual websites.

Limit the maximum number of cached queries on the server to [n] queries

Enable this option by entering a value to limit the maximum number of cached queries that the server maintains. Cached queries allow retrieval of result sets from memory rather than through a database transaction. Because queries reside in memory, and query result set sizes differ, you must provide a limit for the number of cached queries. You enable cached queries with the cachedwithin or cachedafter attributes of the cfquery tag.


Contents > Configuring and Administering ColdFusion MX > Basic ColdFusion MX Administration > Server Settings section > Caching page PreviousNext

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6.1

Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.

Comments


bert.d said on May 6, 2004 at 3:27 AM :
Template cache size (number of templates):
"small enough to avoid excessive reloading"

What exactly does that sentance mean?

Bert
ASandstrom said on May 6, 2004 at 7:06 AM :
Because performance depends on a number of factors, it's not possible to recommend the optimal cache size. However, you should use the guidelines of "one page per MB of JVM size" and make adjustments as necessary.
BuckyGoldstein said on May 10, 2004 at 9:01 AM :
I'm not seeing two settings in my CF Admin screens that are listed here:

"Template cache size (number of templates)"

and

"Cache web server paths (Server configuration only)"

are missing.

Could it be my version of CF Server (6,1,0,63958)?
No screen name said on May 26, 2005 at 1:44 PM :
I think "save class files" is ON by default. Anyway one of our CF servers has over 7GB of class files saved in cfroot\wwwroot\WEB-INF\cfclasses. It's still growing.

Is this because of this setting or something else? Should I turn off the setting?
jrunrandy said on Jun 2, 2005 at 1:39 PM :
Assuming that your using CFMX 6.1, you should be able to turn this option off without impacting anything.

In general, you will get a better and quicker answer by posting questions like this to the online forums: http://webforums.macromedia.com/coldfusion.

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/basicon5.htm