MACROMEDIA COLDFUSION 4.5-ADMINISTRING COLDFUSION SERVER Technical Information Page 13

  • Download
  • Add to my manuals
  • Print
  • Page
    / 174
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 12
8
CONFIGURING AND ADMINISTERING COLDFUSION 9
Using the ColdFusion Administrator
Last updated 2/21/2012
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:
Client Variables page
Client variables let you store user information and preferences between sessions. Using information from client
variables, you can customize page content for individual users.
You enable client variable default settings in ColdFusion on the Client Variables page of the Administrator.
ColdFusion lets you store client variables in the following ways:
In database tables
Note: If your data source uses one of the JDBC drivers bundled with ColdFusion 9, ColdFusion can automatically
create the necessary tables. If your data source uses the ODBC Socket or a third-party JDBC driver, you manually
create the necessary CDATA and CGLOBAL database tables.
As cookies in the web browsers
In the operating system registry
Option Description
Maximum Number Of Cached
Templates
Enter a value that specifies the number of templates that ColdFusion caches. For best application
performance, set this option to a value that is large enough to contain the 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 Java Virtual
Machine (JVM) size.
Trusted Cache Use cached templates without checking whether they changed. For sites that are not updated
frequently, using this option minimizes file system overhead.
Cache Template in Request When checked, any requested files are inspected only once for potential updates within a request. If
unchecked, requested file are inspected for changes each and every time when it is accessed within
the same request. For application where templates/components are not expected to reflect updates
within the same request, this minimizes file system overhead. This setting does not require restarting
the server.
Component cache When checked, component path resolution is cached and not resolved again. This setting does not
require restarting the server.
Save Class Files Saves to disk the class files that the ColdFusion bytecode compiler generates. During the
development phase, it is typically faster if you disable this option.
Cache Web Server Paths Caches ColdFusion page paths for a single server. Clear this option if ColdFusion connects to a web
server with multiple websites or multiple virtual websites.
Maximum Number Of Cached Queries Enter 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, provide a limit for the number of
cached queries. You enable cached queries with the
cachedwithin or cachedafter attributes of
the
cfquery tag. When the maximum number of cached queries is reached, the oldest query is
dropped from the cache and replaced with the specified query. If you set the maximum number of
cached queries to 0, query caching is unlimited.
Clear Template Cache Now Empties the template cache. ColdFusion reloads templates into memory the next time they are
requested and recompiles them if they have been modified.
Clear Component Cache Now Empties the component cache. ColdFusion ignores the resolved path for components and try
resolution again.
Page view 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 173 174

Comments to this Manuals

No comments