Performance: Static files in development
MEDIUM IMPACT
This affects page load speed and rendering by how static files like CSS, JS, and images are served during development.
DEBUG = True # Use Django's built-in staticfiles app with runserver to serve static files efficiently in development
DEBUG = False # Static files not served by Django without explicit configuration
| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Serving static files with DEBUG=False in development | N/A | N/A | Very High due to 404 errors blocking CSS/JS | [X] Bad |
| Serving static files with DEBUG=True using runserver | N/A | N/A | Low, fast CSS/JS load | [OK] Good |