--- 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.