--- name: Wheels Deployment description: Configure Wheels applications for production deployment with security hardening, performance optimization, and environment-specific settings. Use when preparing for production, configuring servers, or hardening security. --- # Wheels Deployment ## Production Configuration ### config/settings.cfm (Production) ```cfm // 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); ``` ## 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