CF Administrator - PowerPoint PPT Presentation

About This Presentation
Title:

CF Administrator

Description:

... 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 ... – PowerPoint PPT presentation

Number of Views:30
Avg rating:3.0/5.0
Slides: 14
Provided by: mdcfugComm5
Category:

less

Transcript and Presenter's Notes

Title: CF Administrator


1
CF Administrator
  • Derrick Rapley
  • QSS Group, Inc.
  • cfbookmark.com

2
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

3
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

4
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

5
Client Variables
  • You can control how long client variables last
  • 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

6
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 ltCFAPPLICATIONgt
    tag
  • ltcfapplication namesomeApp valueclientStorage
    gt

7
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 ltCFINCLUDEgt and
    ltCFMODULEgt
  • Specify a mapping with a /
  • ltcfinclude template/test/query.cfmgt

8
Debugging Settings
  • Typically, Debugging should only be used on a
    Development Server
  • Debugging can also be displayed without CF Admin
    intervention
  • ltcfsetting showdebugoutputyesgt

9
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

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

11
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

12
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)

13
Sandbox Security
  • Sandbox Security allows for you to set special
    restrictions for specified applications
Write a Comment
User Comments (0)
About PowerShow.com