What problem does it solve?
This Skill guides users through the critical process of configuring CFWheels applications for production deployment, addressing essential security hardening and performance optimization concerns to ensure a robust, efficient, and secure live environment.
Core Features & Use Cases
- Production Configuration: Provides clear examples for error handling, caching, and database settings tailored for production.
- Security Checklist: Ensures CSRF protection, debug information suppression, strong passwords, and HTTPS are in place.
- Performance Checklist: Guides on enabling caching, optimizing database indexes, and using eager loading for faster applications.
- Use Case: Before launching your Wheels application, use this skill to systematically review and apply production-ready settings. Ensure all debug information is off, caching is enabled, and essential security measures like CSRF protection are active, preventing common production pitfalls and vulnerabilities.
Quick Start
In config/settings.cfm, for production environment:
<cfif get("environment") == "production">
<cfscript>
set(showDebugInformation=false);
set(cacheActions=true);
set(csrfProtection=true);
</cfscript>
</cfif>