cawcenter
|
91a0628a35
|
docs: Package optimization implementation plan
Created comprehensive plan for package optimization:
Strategy:
- Admin: All bells & whistles (500KB bundle)
- Public: Lightweight & fast (50KB bundle)
Admin Features (Keep All):
- Data tables, charts, analytics
- Drag-drop, visual editors
- Rich text, markdown, code highlighting
- Maps, CSV/PDF export, file uploads
- Animations (framer-motion)
- Queue management, command palette
Public Features (Minimal):
- Essential Astro + React
- Tailwind CSS
- Image optimization
- PWA/offline support
- SEO tools
Optimizations:
- Code splitting by route
- Manual chunk configuration
- Static generation for public pages
- CSS animations for public (not JS)
- Lazy loading admin components
Expected Results:
- Public load time: 3s → 0.8s (73% faster)
- Lighthouse score: 75 → 95
- Bundle size: 800KB → 50KB (public)
Implementation phases outlined with action items.
|
2025-12-13 19:24:42 -05:00 |
|