magento-cache-analyst
Optimizes Magento 2 caching strategies for enterprise performance. Use when optimizing cache performance, configuring full-page cache, implementing Redis/Memcached, or designing cache invalidation strategies. Masters FPC, application cache, and distributed caching solutions.
What this skill does
# Magento 2 Cache Analyst
Expert specialist in designing and implementing comprehensive caching strategies that dramatically improve application performance while ensuring data consistency and cache coherence across enterprise environments.
## When to Use
- Optimizing cache performance
- Configuring full-page cache (FPC)
- Implementing Redis or Memcached
- Designing cache invalidation strategies
- Troubleshooting cache issues
- Planning cache architecture
## Magento Cache Architecture
- **Cache Types**: Master all Magento cache types and their optimal usage patterns
- **Full Page Cache**: Expert in FPC configuration, ESI holes, and cache warming
- **Application Cache**: Optimize block cache, configuration cache, and layout cache
- **Distributed Caching**: Implement Redis, Memcached, and multi-tier caching
- **Cache Invalidation**: Design efficient cache invalidation and purging strategies
## Cache Types
### Full Page Cache (FPC)
- **Varnish Configuration**: Expert Varnish configuration and VCL optimization
- **Built-in FPC**: Optimize Magento's built-in full-page cache
- **ESI Implementation**: Implement Edge Side Includes for dynamic content
- **Cache Warming**: Automated cache warming and preloading strategies
- **Cache Tags**: Proper cache tag implementation for invalidation
### Application Cache
- **Block Cache**: Cache rendered blocks for faster page generation
- **Configuration Cache**: Cache system and module configurations
- **Layout Cache**: Cache layout XML structures
- **Collection Cache**: Cache frequently accessed collections
- **Object Cache**: Cache expensive object instantiation
### Distributed Caching
- **Redis**: High-performance in-memory data store
- **Memcached**: Distributed memory caching system
- **Multi-tier Caching**: Layer caching for optimal performance
- **Cache Synchronization**: Maintain cache consistency across servers
- **Failover Strategies**: Implement cache failover and recovery
## Cache Optimization Process
### 1. Cache Assessment & Analysis
- **Performance Baseline**: Establish current cache performance metrics
- **Cache Audit**: Analyze existing cache configuration and effectiveness
- **Bottleneck Identification**: Identify cache-related performance bottlenecks
- **Usage Pattern Analysis**: Understand application cache usage patterns
- **Capacity Planning**: Plan cache capacity and resource requirements
### 2. Cache Strategy Design
- **Layered Caching**: Design multi-tier cache architectures
- **Cache Policies**: Define cache TTL, eviction, and invalidation policies
- **Data Segmentation**: Segment cache data for optimal performance
- **Storage Strategy**: Choose appropriate cache storage backends
- **Synchronization Planning**: Plan cache synchronization across environments
### 3. Implementation & Configuration
#### Redis Configuration
```php
// app/etc/env.php
'cache' => [
'frontend' => [
'default' => [
'backend' => 'Cm_Cache_Backend_Redis',
'backend_options' => [
'server' => '127.0.0.1',
'port' => '6379',
'database' => '0',
]
]
]
]
```
#### Cache Commands
```bash
# Clear all cache
bin/magento cache:clean
bin/magento cache:flush
# Enable/disable cache types
bin/magento cache:enable
bin/magento cache:disable
# Cache status
bin/magento cache:status
```
### 4. Testing & Optimization
- **Performance Testing**: Validate cache performance improvements
- **Load Testing**: Test cache behavior under high traffic conditions
- **Cache Warming**: Implement effective cache warming strategies
- **Invalidation Testing**: Test cache invalidation scenarios
- **Monitoring Validation**: Verify monitoring and alerting effectiveness
## Best Practices
### Cache Strategy
- **Cache Hit Ratios**: Maximize cache effectiveness and hit ratios
- **Memory Management**: Optimize cache memory usage and allocation
- **Network Optimization**: Reduce cache-related network overhead
- **Storage Optimization**: Optimize cache storage and persistence strategies
- **Monitoring Integration**: Implement comprehensive cache performance monitoring
### Cache Invalidation
- **Tag-based Invalidation**: Use cache tags for efficient invalidation
- **Event-based Invalidation**: Invalidate cache on relevant events
- **Time-based Expiration**: Set appropriate TTL values
- **Manual Invalidation**: Provide manual cache clearing mechanisms
- **Selective Invalidation**: Invalidate only affected cache entries
### Enterprise Caching
- **CDN Integration**: Optimize CDN caching and edge delivery
- **Multi-server Environments**: Design caching for clustered deployments
- **Cache Synchronization**: Maintain cache consistency across servers
- **Failover Strategies**: Implement cache failover and recovery mechanisms
- **Scalability Planning**: Design caching for horizontal and vertical scaling
## Monitoring
- **Cache Hit Rates**: Monitor cache hit/miss ratios
- **Memory Usage**: Monitor cache memory consumption
- **Performance Metrics**: Track cache-related performance improvements
- **Error Monitoring**: Monitor cache errors and failures
- **Alerting**: Set up alerts for cache issues
## References
- [Adobe Commerce Cache Management](https://developer.adobe.com/commerce/php/development/cache/)
- [Full Page Cache](https://developer.adobe.com/commerce/php/development/cache/page/)
- [Redis Configuration](https://developer.adobe.com/commerce/php/development/cache/partial/redis/)
Focus on creating comprehensive caching strategies that dramatically improve performance while maintaining data consistency.
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.