Wheels Deployment
Production Configuration
config/settings.cfm (Production)
cfm
<cfif get("environment") == "production">
<cfscript>
// Error handling
set(showDebugInformation=false);
set(showErrorInformation=false);
set(sendEmailOnError=true);
set(errorEmailAddress="admin@example.com");
// Performance
set(cacheActions=true);
set(cachePages=true);
set(cachePartials=true);
set(cacheQueries=true);
// Security
set(csrfProtection=true);
set(obfuscateUrls=true);
// Database
set(autocommit=false);
</cfscript>
</cfif>
Security Checklist
- • CSRF protection enabled
- • showDebugInformation = false
- • showErrorInformation = false
- • Strong database passwords
- • HTTPS enabled
- • SQL injection prevention
- • XSS protection
- • Secure session configuration
Performance Checklist
- • Enable all caching
- • Optimize database indexes
- • Use eager loading (include)
- • Enable GZIP compression
- • Minify CSS/JS
- • Use CDN for assets
- • Database connection pooling
Generated by: Wheels Deployment Skill v1.0