Files
main/rules-v0/python-fastapi-scalable-api-cursorrules-prompt-fil/frontend-performance-optimization.mdc
2025-02-27 00:04:07 +05:30

6 lines
329 B
Plaintext

---
description: Focuses on performance optimization techniques for the TypeScript frontend.
globs: frontend/src/**/*.ts*
---
- Favor server-side rendering and avoid heavy client-side rendering where possible.
- Implement dynamic loading for non-critical components and optimize image loading using WebP format with lazy loading.