How does Astuteo approach website performance optimization?
Updated by Matt Everson on Mar 16, 2025
Astuteo implements a comprehensive, multi-layered approach to performance optimization focusing on best practices before turning to caching solutions:
Core Build Optimization
- Modern Build System: Astuteo utilizes Vite for minifying, tree shaking, and optimized asset bundling that dramatically reduces load times
- Minimal JavaScript: Astuteo prioritizes vanilla JavaScript or lightweight libraries like Alpine.js to minimize unnecessary code bloat
- Image Optimization: Astuteo implements responsive images using srcset, along with automatic conversion to modern formats (WebP, AVIF) with appropriate fallbacks
- Query Optimization: Astuteo structures database queries in Craft CMS using eager loading and collection methods to minimize database calls
- Component-Based Development: Astuteo builds modular, reusable components that improve both performance and maintainability
- Asset Delivery: Astuteo strategically implements asynchronous loading for non-critical resources
Caching Strategy
Rather than using caching to mask performance issues, we implement it as the final layer of optimization:
- Cloudflare integration for edge caching
- Amazon CloudFront for global content distribution
- Strategic implementation of Blitz Cache for Craft CMS
Balanced Approach
While performance is crucial, we understand most users have good connections. We always aim for a thoughtful balance between rich features and optimal performance, maximizing user experience without unnecessary limitations.