magento-indexing-caching

Optimize Magento performance by managing indexers, Varnish, and Redis caching.

44|7|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill magento-indexing-caching
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: magento-indexing-caching
Source: https://github.com/finsilabs/awesome-ecommerce-skills/tree/main/skills/platform-magento/magento-indexing-caching
Command: npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill magento-indexing-caching

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses slow Magento performance, incorrect product display, and caching issues by optimizing indexer management, configuring Varnish for full-page caching, and setting up Redis for session and object caching.

Core Features & Use Cases

  • Indexer Management: Ensures correct indexer modes and efficient reindexing for large catalogs.
  • Varnish Configuration: Guides through setting up Varnish as a robust Full-Page Cache (FPC) solution.
  • Redis Integration: Provides instructions for using Redis for session storage and application caching.
  • Cache Invalidation: Explains how to implement proper cache tag invalidation for custom modules.
  • Use Case: When products appear with wrong prices or are invisible after catalog updates, or when diagnosing slow category page loads, this skill provides the exact commands and configuration steps to resolve these performance bottlenecks.

Quick Start

Run bin/magento indexer:info to check the status of your Magento indexers.

Frequently Asked Questions about magento-indexing-caching

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix Magento products showing wrong prices or being invisible after catalog updates?

Magento indexer management resolves products showing wrong prices after catalog updates. Check indexer status using `bin/magento indexer:info` to ensure correct indexer modes are set, which synchronizes large catalog data and fixes visibility issues caused by outdated index tables.

What is the best way to configure Varnish for Magento full-page caching?

Configuring Varnish for Magento full-page caching involves deploying a generated VCL file to route traffic through Varnish. This FPC setup serves cached HTML directly, bypassing Magento PHP processing to drastically reduce page load times and server load for high-traffic stores.

Can I use Redis for both Magento session storage and object caching?

Yes, you can integrate Redis for both Magento session storage and object caching. Configuring Redis in the `env.php` file delegates session handling and cache storage to an in-memory datastore, reducing database locks and improving overall application response times.

Why does Magento cache invalidation fail for custom modules?

Magento cache invalidation fails for custom modules when proper cache tags are not implemented. Resolving this requires configuring your custom module to emit specific cache tags, allowing Magento to automatically purge outdated full-page or object cache entries when underlying data changes.

Does Magento indexer mode affect slow category page loads?

Yes, Magento indexer mode directly impacts slow category page loads. Running indexers in "Update on Save" mode causes performance bottlenecks during browsing. Switching to "Update by Schedule" mode via CLI ensures efficient background reindexing, preventing real-time queries and improving page load speeds.