High-Scale Performance Architecture
Site Store Pro is engineered for catalogs with 10,000 to 50,000+ products and 250,000+ variants using composite covering indexes, deferred Livewire catalog loading, capped attribute facet extraction, single-query category product counts, and optimized 10K+ review moderation queries.
Production Performance Checklist
- Ensure all database migrations are applied: Run
php artisan migrateso all composite performance indexes onproducts,product_variants,product_images,products_inventory,product_categories, andproduct_reviewsare active. - Enable Static Header & Footer Caching: Build the static cache from
/admin/cms-header-footeror via CLI:
This cuts 16–28 dynamic header/footer queries per page load down to 0 queries while keeping the shopping cart badge, language switcher, dark mode toggle, and mobile drawer 100% reactive.php artisan cms:rebuild-header-footer-cache - Cache Laravel config, routes, and views:
php artisan config:cache php artisan route:cache php artisan view:cache - Use Redis for Sessions, Cache, and Queues: Install the PHP
redisextension (orpredis/predis) and setCACHE_STORE=redis,SESSION_DRIVER=redis, andQUEUE_CONNECTION=redisin.env. - Tune Filter Drawer Options for Massive Catalogs: If your catalog has hundreds of variant attributes and you don't need attribute checkboxes in the catalog sidebar, turn off
enable_advanced_shop_search_attributesin/admin/settings.
Fixing "Class Redis not found"
If you see Class "Redis" not found after enabling Redis, either install the PHP extension (sudo apt install php8.3-redis and restart PHP-FPM) or switch REDIS_CLIENT=predis in .env (after running composer require predis/predis), or temporarily set CACHE_STORE=database and SESSION_DRIVER=database.