Transcript www.cfconf.org
CF Administrator
Nate Nelson I*LEVEL, Inc.
Server Settings
• • • • • Maximum # of Simultaneous Requests • Recommended 3 Per Processor Timeout Requests after n seconds • Prevent unusually lengthy requests from using up server resources Whitespace Management Missing Template Handler Site-wide Error Handler
Caching
• Maximum # of Cached Templates • • • Too low of number can slow down response time Too high of number requires more memory Experiment to find best setting for your server • Suggested to start with 1 page per MB of JVM size • Trusted Cache • ColdFusion will no not check for updated templates that are cached • Great performance enhancement for Production server that won't be updated
Caching
• • Save Class Files • Recommended for Production Server • Cached web paths • Only for single-site web server installations Cached Queries • Specify # of queries cached at once • Cached queries reside in memory • • When limit is reached, oldest is removed cachedwithin or cachedafter of
Client Variables
• • Used for persistent data Can be stored in 1 of 3 locations • Registry (Default storage) • Simple Implementation • Registry can become corrupt if it becomes too large • Cookies • • Simple Implementation Users can have cookies disabled • Datasource (Requires database) • • Portable and not tied to host system Complex Implementation
Client Variables
• • • Control Client Variable expiration • Default 90 days, Minimum 1 day Disable Global Client Variable Updates • If checked, client vars HITCOUNT & LASTVISIT only update when Client vars set or modified • Client Variable expiration based on HITCOUNT and LASTVISIT Alternate way to set Client Var Storage •
ColdFusion Mappings
• • Mappings allow you to point to files outside of webroot • Logical Path = Name of mapping • Directory Path = Absolute path to directory Mappings can be used in • • Mail Server • Connect to default mail server, can also be set with • Java and JVM settings • • • JVM Path = location of JVM.dll or JVM.so Min and Max JVM Heap Size Class Path and JVM Arguments • Archives and Deployment • Archive and deploy CF apps, configuration settings, dsn info and more • Settings Summary • Shows all CFMX configuration settings • • • Data Sources • Setup & verify connections to Data Sources • Verity Collections • Manage collections for search interfaces Verity K2 Server • For faster searching Web Services • Registering a web service allows you to change web service URL without changing code • Enable Debugging • For performance and security reasons it is recommended to only be used in development • Can be enabled in CFAdmin or in code • • • IP Address List • If 1 or more IP addresses are specified, debug is limited to those IP's only No IP Addresses listed • If no IP address specified then debug is appended to all requests • • • Manage CFMX Logging Options • • Log Directory, Maximum Log File Size Log slow pages taking longer than n seconds Log Files • • Useful to find bottlenecks application.log, exceptions.log, scheduler.log, server.log, customtag.log, mail.log, etc. Scheduled Tasks • Schedule execution of local and remote web pages • Java Applets • To use • • • CF Admin Password RDS Password Sandbox Security • A sandbox is a designated area of your site to which you apply security restrictions. • Control access to Data Sources, Tags, Functions, Files and Directories, IP Ports • Macromedia CFMX Documentation Configuring and Administering CFMX • http://www.macromedia.com/support/documentation/en/col dfusion/ Live Docs • http://livedocs.macromedia.com/coldfusion/6.1/index.htmlMore Server Settings
More Server Settings
Data & Services
Debugging Settings
Debuggin IP Addresses
Logging and More
Extensions
Security
Resources