Transcript www.cfug

CF Administrator Derrick Rapley cfbookmark.com

Caching

• Template Cache Size – Set to number of templates – Too low of a number can make pages slow to load since not all will be cached – Too high of a number, more memory is allocated than necessary • Trusted Cache – When checked, Coldfusion no longer looks for updated templates for thos that are cached – Great for a production server that won't be updated

Caching

• Limit Cached Queries (default 100) – Allows you to specify how many queries can be cached at once – Cached queries reside in memory – When limit is reached, oldest cached query is kicked out

Client Variables

• Client variables are used for persistent data • Can be stored in one of 3 locations – Registry (default) – Cookies – Datasource • The registry can become corrupt if it becomes too large • Users can have cookies disabled • A datasource requires a database

Client Variables

• You can control how long client variables las t – Default is 90 days – Minimum is 1 day • The longer the period of time, the larger the client storage becomes • Disable Global Client Variable Updates – If checked, a client variables HITCOUNT and LASTVISIT are only upaded when client variables are set or modified

Client Variables

• Disable Global Client Variable Updates (cont) – Client variables expire based on the HITCOUNT and LASTVISIT • Although the default storage for client variables is set in the CF Administrator, an alternate storage can be specified in the tag –

Server Side Mappings

• Mappings allow you to point to files that are outside of your webroot.

– Logical Path = The Name of the Mapping – Directory Path = Absolute Path to Directory • Mappings can be used in and • Specify a mapping with a “/” •

Debugging Settings

• Typically, Debugging should only be used on a Development Server • Debugging can also be displayed without CF Admin intervention –

Debugging IP Addresses

• When no ip addresses are specified and debugging is turned on, debug info is appended to all requests • By specifying IP addresses, debug information is limited to those IP addresses

Logging Settings

• Logging settings can come in handy on a productionn server to help monitor the performance and any potential bottlenecks within the application

CFX Tags

• CFX Tags have to registered with the ColdFusion Administrator • They are written in C++ or JAVA • Run faster than Custom Tags written in Coldfusion since they are compiled • Tags written in C++ are .dll files on Windows and shared objects on Unix

Custom Tag Paths

• The default custom tag path is in the installation directory for ColdFusion • Additional Custom Tag Directories can be specified for Custom Tags that reside else where, (i.e. A seperate partition)

Sandbox Security

• Sandbox Security allows for you to set special restrictions for specified applications