Spree Performance Optimization
Profiles and optimizes Spree Commerce applications to resolve bottlenecks, reduce database load, and prepare for high-traffic events.
Spree Performance is a specialized skill for Claude Code designed to identify and resolve performance bottlenecks in Spree Commerce applications. It provides expert guidance on eliminating N+1 queries, implementing Russian-doll caching, and optimizing database indexing for polymorphic associations. Whether you are migrating from Spree API v2 to v3 for a 10x speed boost or preparing for a Black Friday traffic surge, this skill helps tune Puma workers, Sidekiq queues, and ActiveStorage variant pre-generation to ensure a fast, scalable storefront.
主な機能
01Provides database indexing strategies for polymorphic associations and multi-store setups.
02Analyzes search performance tradeoffs between Postgres FTS and MeiliSearch.
03Identifies and fixes N+1 query bottlenecks in complex Spree catalog views.
04Optimizes Sidekiq queue concurrency and Puma worker/thread sizing.
0532 GitHub stars
06Guides implementation of fragment and Russian-doll caching for product and taxon pages.
ユースケース
01Migrating legacy Spree API v2 endpoints to the high-performance v3 architecture.
02Preparing a Spree storefront for high-traffic events like Black Friday or product launches.
03Debugging slow checkout processes or heavy order recalculation logic.