What problem does it solve?
This Skill provides the necessary tools and guidance to diagnose and improve the performance of Spree Commerce applications, addressing issues such as slow product listings, cart updates, search latency, image processing bottlenecks, and Sidekiq queue tuning.
Core Features & Use Cases
- Performance Analysis: Identify performance hotspots in Spree applications.
- Cart Pipeline Optimization: Optimize the cart recalculate service to reduce load and improve response times.
- Catalog Rendering: Address N+1 queries in product listings and implement efficient preloading strategies.
- Search Provider Tuning: Optimize search performance with database or Meilisearch configurations.
- Image Processing: Optimize image generation and processing for efficient upload and rendering.
- Sidekiq Queue Management: Configure Sidekiq queues to balance workload and prevent backlogs.
- Admin Product Table: Address N+1 queries in the admin product table for efficient data handling.
- Caching Strategies: Implement caching patterns to improve storefront performance.
- Profiling Tools: Utilize profiling tools like rack-mini-profiler, bullet, and APM services for monitoring and optimization.
- Use Case: If your Spree store experiences slow loading times or inefficient background processing, this Skill can help you pinpoint and resolve these issues.
Quick Start
Use the spree-performance skill to analyze the performance of your Spree store and identify bottlenecks.