Performance: collectstatic for production
MEDIUM IMPACT
This affects page load speed by optimizing how static files are served in production.
Run `python manage.py collectstatic` to gather all static files into a single directory, then serve them via a dedicated web server or CDN.
Serving static files directly from Django during production without running collectstatic.| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Serving static files via Django dev server without collectstatic | N/A | N/A | High due to slow asset load | [X] Bad |
| Serving static files after running collectstatic via CDN or web server | N/A | N/A | Low due to fast asset delivery | [OK] Good |