Plugin Directory

Changeset 3459604

Timestamp:
02/12/2026 07:38:00 AM (5 months ago)
Author:
Rynald0s
Message:

Updated readme

Location:
mamba-cache-for-woocommerce
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mamba-cache-for-woocommerce/tags/1.0.0/readme.txt

    r3458799 r3459604  
    55Requires at least: 5.0
    66Tested up to: 6.9
    7 WC requires at least: 10.0.0
    8 WC tested up to: 10.4.3
     7WC requires at least: 5.0.0
     8WC tested up to: 9.6.0
    99Requires PHP: 7.4
    1010Stable tag: 1.0.0
     
    7171– **Retention Policies** – Customizable cleanup retention for different data types
    7272
     73### 🎨 Critical CSS & CSS Optimization
     74
     75Eliminate render-blocking CSS and improve Core Web Vitals:
     76
     77– **Critical CSS Inlining** – Automatically extract and inline above-the-fold CSS
     78– **CSS Deferring** – Load non-critical stylesheets asynchronously after page render
     79– **Force-Include Selectors** – Specify CSS selectors to always include in critical CSS (Premium)
     80– **Per-Page-Type CSS** – Custom critical CSS for product, shop, category, cart, checkout pages (Premium)
     81– **Media Print Technique** – Uses media="print" with automatic no-JS fallback
     82
    7383### 🚀 Overhead Optimization
    7484
     
    7686
    7787– **Asset Optimization** – Dequeue WooCommerce CSS/JS on non-product pages
    78 – **Checkout Optimization** – Optimize payment gateway loading and form performance
     88– **HTML/CSS/JS Minification** – Conservative (HTML-only) or Aggressive (HTML + inline CSS/JS, Premium)
     89– **JavaScript Delay** – Delay non-critical third-party scripts until user interaction (Premium)
     90– **Checkout Optimization** – Optimize payment gateway loading and form performance (Premium)
    7991– **Price HTML Simplification** – Streamline product price display markup
    8092– **Hover Prefetch** – Preload product/category pages on hover for instant navigation
    81 – **Resource Hints** – DNS prefetch for payment gateways and external services
    82 – **Heartbeat Control** – Reduce AJAX frequency on product edit screens
     93– **Resource Hints** – DNS prefetch and preconnect for external services
     94– **Font Preloading** – Preload critical web fonts (Premium)
     95– **Heartbeat Control** – Reduce AJAX frequency on frontend, admin, and editor
     96– **Order Attribution Disable** – Remove WooCommerce order attribution tracking script
    8397
    8498### 🌐 CDN Integration
     
    114128– **Savings Reports** – Bandwidth and database savings from optimizations
    115129
    116 ### 🛠️ Developer-Friendly
     130### 📊 Logging & Diagnostics
     131
     132Comprehensive logging for debugging and monitoring:
     133
     134– **Cache Event Logging** – Track cache hits, misses, and purge operations
     135– **Error Tracking** – Monitor warmup failures and cache generation errors
     136– **Retention Policies** – Configurable log retention periods
     137– **Log Viewer** – Built-in admin interface for viewing and filtering logs
     138
     139### ⭐ Premium Features
     140
     141Unlock advanced optimizations with Mamba Premium:
     142
     143– **Store API Caching** – High-performance caching for WooCommerce Store API endpoints
     144– **JavaScript Delay** – Delay non-critical third-party scripts until user interaction
     145– **Checkout Optimization** – Optimize payment gateway loading and form performance
     146– **Font Preloading** – Preload critical web fonts for faster rendering
     147– **Preconnect Domains** – Early connection to external services
     148– **Aggressive Minification** – HTML + inline CSS/JS minification
     149– **Custom Critical CSS** – Per-page-type critical CSS customization
     150– **Force-Include Selectors** – Specify CSS selectors to always include in critical CSS
     151– **Transactional Email Deferring** – Defer order emails to background processing
     152
     153### 🔧 Developer-Friendly
    117154
    118155Comprehensive hooks and APIs for WooCommerce customization:
    119156
    120 – **60+ Filters** – Customize cache keys, TTL, invalidation for products/categories
    121 – **30+ Actions** – Hook into product updates, order processing, cart changes
     157– **70+ Filters** – Customize cache keys, TTL, variants, warmup, invalidation, and more
     158– **7 Actions** – Hook into cache purges, Store API clears, database task completion
    122159– **WP-CLI Commands** – Command-line cache management for WooCommerce sites
    123160– **REST API** – Programmatic cache control for headless WooCommerce
     
    142179Full command-line interface for WooCommerce cache management and automation:
    143180
     181**Cache Purge Commands:**
     182
     183– `wp mamba-cache-for-woocommerce purge all` – Purge all page cache and related markers
     184– `wp mamba-cache-for-woocommerce purge store-api` – Purge Store API cache only
     185– `wp mamba-cache-for-woocommerce purge url <url>` – Purge specific URL
     186– `wp mamba-cache-for-woocommerce purge urls <file>` – Purge URLs from a file (one per line)
     187– `wp mamba-cache-for-woocommerce purge product <id>` – Purge cache for specific product ID
     188– `wp mamba-cache-for-woocommerce purge category <term_id>` – Purge cache for specific category
     189– `wp mamba-cache-for-woocommerce purge shop` – Purge shop page cache
     190– `wp mamba-cache-for-woocommerce purge home` – Purge homepage cache
     191– `wp mamba-cache-for-woocommerce purge tags <tag1,tag2,...>` – Purge CDN by cache tags
     192
     193**Warmup Commands:**
     194
     195– `wp mamba-cache-for-woocommerce warmup start` – Start background cache warmup
     196– `wp mamba-cache-for-woocommerce warmup status` – Check warmup job progress (JSON output)
     197– `wp mamba-cache-for-woocommerce warmup cancel` – Cancel running warmup job
     198– `wp mamba-cache-for-woocommerce warmup resume` – Resume paused warmup job
     199– `wp mamba-cache-for-woocommerce warmup errors` – View warmup errors (JSON output)
     200
     201**Options:**
     202
     203– `--and-warm` – Automatically warm the URL after purging (available on url, urls, category, shop, home commands)
     204
     205**Examples:**
     206
     207`# Purge all cache`
     208wp mamba-cache-for-woocommerce purge all
     209
     210`# Purge and warm a specific product`
     211wp mamba-cache-for-woocommerce purge product 123 --and-warm
     212
     213`# Purge shop page and warm it`
     214wp mamba-cache-for-woocommerce purge shop --and-warm
     215
     216`# Start warmup job`
     217wp mamba-cache-for-woocommerce warmup start
     218
     219`# Check warmup status`
     220wp mamba-cache-for-woocommerce warmup status
     221
     222
     223### REST API Endpoints
     224
     225Programmatic access to Mamba's WooCommerce caching and optimization features:
     226
     227**Status & Monitoring:**
     228
     229– `GET /wp-json/mamba-wc/v1/cache-status` – Cache status, hit rates, coverage metrics
     230– `GET /wp-json/mamba-wc/v1/stats` – Detailed performance statistics
     231– `GET /wp-json/mamba-wc/v1/cache-counts` – Cache counts by content type (products, categories, etc.)
     232– `GET /wp-json/mamba-wc/v1/purge-stats` – Purge operation statistics
     233
    144234**Cache Management:**
    145235
    146 – `wp mamba purge` – Purge all cache (page cache, Store API, fragments)
    147 – `wp mamba purge page` – Purge only page cache
    148 – `wp mamba purge api` – Purge only Store API cache
    149 – `wp mamba purge url <url>` – Purge specific WooCommerce product/category URL
    150 – `wp mamba purge product <id>` – Purge cache for specific product ID
    151 – `wp mamba purge category <slug>` – Purge cache for specific category
     236– `POST /wp-json/mamba-wc/v1/purge` – Purge caches (body: `{type: "all|page|api|url", url: "..."}`)
    152237
    153238**Warmup Operations:**
    154239
    155 – `wp mamba warmup` – Start background cache warmup for all catalog pages
    156 – `wp mamba warmup products` – Warm up all product pages
    157 – `wp mamba warmup categories` – Warm up all category/tag pages
    158 – `wp mamba warmup shop` – Warm up main shop page
    159 – `wp mamba warmup status` – Check warmup job progress
    160 
    161 **Database Operations:**
    162 
    163 – `wp mamba db optimize` – Run all database cleanup tasks
    164 – `wp mamba db optimize sessions` – Clean expired WooCommerce sessions
    165 – `wp mamba db optimize orders` – Clean orphaned order data
    166 – `wp mamba db optimize products` – Clean orphaned product data
    167 – `wp mamba db status` – Show database optimization status
    168 
    169 **Monitoring & Diagnostics:**
    170 
    171 – `wp mamba status` – Display comprehensive cache and performance statistics
    172 – `wp mamba status detailed` – Show detailed metrics including hit rates, coverage, and savings
    173 – `wp mamba config` – Display current Mamba configuration
    174 – `wp mamba test` – Run cache functionality tests
    175 
    176 **Examples:**
    177 
    178 # Purge all cache
    179 wp mamba purge
    180 
    181 # Warm up product catalog after bulk import
    182 wp mamba warmup products
    183 
    184 # Clean database after order migration
    185 wp mamba db optimize orders
    186 
    187 # Check cache performance
    188 wp mamba status detailed
    189 
    190 
    191 ### REST API Endpoints
    192 
    193 Programmatic access to Mamba's WooCommerce caching and optimization features:
    194 
    195 **Status & Monitoring:**
    196 
    197 – `GET /wp-json/mamba/v1/status` – Cache status, hit rates, coverage metrics
    198 – `GET /wp-json/mamba/v1/stats` – Detailed performance statistics
    199 – `GET /wp-json/mamba/v1/warmup/{job_id}` – Background warmup job status
    200 – `GET /wp-json/mamba/v1/db/counts` – Database cleanup task counts
    201 
    202 **Cache Management:**
    203 
    204 – `POST /wp-json/mamba/v1/purge` – Purge all caches
    205 – `POST /wp-json/mamba/v1/purge/page` – Purge page cache only
    206 – `POST /wp-json/mamba/v1/purge/api` – Purge Store API cache only
    207 – `POST /wp-json/mamba/v1/purge/url` – Purge specific URL (body: `{url: "https://example.com/product/test"}`)
    208 – `POST /wp-json/mamba/v1/purge/product/{id}` – Purge specific product
    209 – `POST /wp-json/mamba/v1/purge/category/{slug}` – Purge specific category
    210 
    211 **Warmup Operations:**
    212 
    213 – `POST /wp-json/mamba/v1/warmup` – Start background warmup
    214 – `POST /wp-json/mamba/v1/warmup/products` – Warm up product pages
    215 – `POST /wp-json/mamba/v1/warmup/categories` – Warm up category pages
    216 – `GET /wp-json/mamba/v1/warmup/jobs` – List active warmup jobs
    217 
    218 **Database Operations:**
    219 
    220 – `POST /wp-json/mamba/v1/db/optimize` – Run database cleanup
    221 – `POST /wp-json/mamba/v1/db/optimize/{task}` – Run specific cleanup task
    222 – `GET /wp-json/mamba/v1/db/tasks` – List available cleanup tasks
    223 – `GET /wp-json/mamba/v1/db/overview` – Database optimization overview
    224 
    225 **Configuration:**
    226 
    227 – `GET /wp-json/mamba/v1/settings` – Get current settings
    228 – `POST /wp-json/mamba/v1/settings` – Update settings (requires admin authentication)
    229 – `GET /wp-json/mamba/v1/cdn/test` – Test CDN connection
    230 – `POST /wp-json/mamba/v1/cdn/purge` – Send CDN purge request
     240– `POST /wp-json/mamba-wc/v1/warmup` – Start foreground warmup
     241– `POST /wp-json/mamba-wc/v1/background-warmup` – Start background warmup job
     242– `GET /wp-json/mamba-wc/v1/warmup-status` – Check warmup job progress
     243– `POST /wp-json/mamba-wc/v1/warmup-cancel` – Cancel running warmup job
     244– `POST /wp-json/mamba-wc/v1/warmup-resume` – Resume paused warmup job
     245– `GET /wp-json/mamba-wc/v1/warmup-errors` – Get warmup error log
     246– `GET /wp-json/mamba-wc/v1/background-jobs` – List active background jobs
    231247
    232248**Authentication:**
    233249
    234 All REST endpoints require WordPress admin authentication. Use standard WordPress authentication methods (cookies, application passwords, or OAuth).
     250All REST endpoints require WordPress admin authentication (`manage_options` or `manage_woocommerce` capability). Use standard WordPress authentication methods (cookies, application passwords, or OAuth).
    235251
    236252
     
    241257When updating products via API, automatically purge affected cache:
    242258
    243 # After updating product via WooCommerce REST API
    244 
    245 curl -X POST https://example.com/wp-json/mamba/v1/purge/product/123 \
     259`# After updating product via WooCommerce REST API`
     260curl -X POST https://example.com/wp-json/mamba-wc/v1/purge \
     261  -H "Content-Type: application/json" \
     262  -d '{"type":"url","url":"https://example.com/product/my-product/"}' \
    246263  -u username:password
    247264
     
    251268Include cache warmup in deployment pipelines:
    252269
    253 # After deployment, warm up critical pages
    254 
    255 wp mamba warmup shop
    256 wp mamba warmup categories
    257 wp mamba purge  # Clear any stale cache
     270`# After deployment, clear stale cache and warm up`
     271wp mamba-cache-for-woocommerce purge all
     272wp mamba-cache-for-woocommerce warmup start
    258273
    259274
     
    262277Monitor WooCommerce performance in external systems:
    263278
    264 # Check cache hit rates
    265 
    266 wp mamba status | grep "Hit Rate"
     279`# Check warmup status`
     280wp mamba-cache-for-woocommerce warmup status
    267281
    268282
     
    371385= Can I customize cache behavior? =
    372386
    373 Yes, extensively! Mamba provides 60+ filters for developers to customize TTL, cache keys, invalidation logic, and more. See our [Developer Reference](docs/api-reference.html) for details.
     387Yes, extensively! Mamba provides 70+ filters for developers to customize TTL, cache keys, variants, warmup behavior, and more. See our [Developer Reference](docs/api-reference.html) for details.
    374388
    375389= What happens if I deactivate Mamba? =
  • mamba-cache-for-woocommerce/trunk/readme.txt

    r3458799 r3459604  
    55Requires at least: 5.0
    66Tested up to: 6.9
    7 WC requires at least: 10.0.0
    8 WC tested up to: 10.4.3
     7WC requires at least: 5.0.0
     8WC tested up to: 9.6.0
    99Requires PHP: 7.4
    1010Stable tag: 1.0.0
     
    7171– **Retention Policies** – Customizable cleanup retention for different data types
    7272
     73### 🎨 Critical CSS & CSS Optimization
     74
     75Eliminate render-blocking CSS and improve Core Web Vitals:
     76
     77– **Critical CSS Inlining** – Automatically extract and inline above-the-fold CSS
     78– **CSS Deferring** – Load non-critical stylesheets asynchronously after page render
     79– **Force-Include Selectors** – Specify CSS selectors to always include in critical CSS (Premium)
     80– **Per-Page-Type CSS** – Custom critical CSS for product, shop, category, cart, checkout pages (Premium)
     81– **Media Print Technique** – Uses media="print" with automatic no-JS fallback
     82
    7383### 🚀 Overhead Optimization
    7484
     
    7686
    7787– **Asset Optimization** – Dequeue WooCommerce CSS/JS on non-product pages
    78 – **Checkout Optimization** – Optimize payment gateway loading and form performance
     88– **HTML/CSS/JS Minification** – Conservative (HTML-only) or Aggressive (HTML + inline CSS/JS, Premium)
     89– **JavaScript Delay** – Delay non-critical third-party scripts until user interaction (Premium)
     90– **Checkout Optimization** – Optimize payment gateway loading and form performance (Premium)
    7991– **Price HTML Simplification** – Streamline product price display markup
    8092– **Hover Prefetch** – Preload product/category pages on hover for instant navigation
    81 – **Resource Hints** – DNS prefetch for payment gateways and external services
    82 – **Heartbeat Control** – Reduce AJAX frequency on product edit screens
     93– **Resource Hints** – DNS prefetch and preconnect for external services
     94– **Font Preloading** – Preload critical web fonts (Premium)
     95– **Heartbeat Control** – Reduce AJAX frequency on frontend, admin, and editor
     96– **Order Attribution Disable** – Remove WooCommerce order attribution tracking script
    8397
    8498### 🌐 CDN Integration
     
    114128– **Savings Reports** – Bandwidth and database savings from optimizations
    115129
    116 ### 🛠️ Developer-Friendly
     130### 📊 Logging & Diagnostics
     131
     132Comprehensive logging for debugging and monitoring:
     133
     134– **Cache Event Logging** – Track cache hits, misses, and purge operations
     135– **Error Tracking** – Monitor warmup failures and cache generation errors
     136– **Retention Policies** – Configurable log retention periods
     137– **Log Viewer** – Built-in admin interface for viewing and filtering logs
     138
     139### ⭐ Premium Features
     140
     141Unlock advanced optimizations with Mamba Premium:
     142
     143– **Store API Caching** – High-performance caching for WooCommerce Store API endpoints
     144– **JavaScript Delay** – Delay non-critical third-party scripts until user interaction
     145– **Checkout Optimization** – Optimize payment gateway loading and form performance
     146– **Font Preloading** – Preload critical web fonts for faster rendering
     147– **Preconnect Domains** – Early connection to external services
     148– **Aggressive Minification** – HTML + inline CSS/JS minification
     149– **Custom Critical CSS** – Per-page-type critical CSS customization
     150– **Force-Include Selectors** – Specify CSS selectors to always include in critical CSS
     151– **Transactional Email Deferring** – Defer order emails to background processing
     152
     153### 🔧 Developer-Friendly
    117154
    118155Comprehensive hooks and APIs for WooCommerce customization:
    119156
    120 – **60+ Filters** – Customize cache keys, TTL, invalidation for products/categories
    121 – **30+ Actions** – Hook into product updates, order processing, cart changes
     157– **70+ Filters** – Customize cache keys, TTL, variants, warmup, invalidation, and more
     158– **7 Actions** – Hook into cache purges, Store API clears, database task completion
    122159– **WP-CLI Commands** – Command-line cache management for WooCommerce sites
    123160– **REST API** – Programmatic cache control for headless WooCommerce
     
    142179Full command-line interface for WooCommerce cache management and automation:
    143180
     181**Cache Purge Commands:**
     182
     183– `wp mamba-cache-for-woocommerce purge all` – Purge all page cache and related markers
     184– `wp mamba-cache-for-woocommerce purge store-api` – Purge Store API cache only
     185– `wp mamba-cache-for-woocommerce purge url <url>` – Purge specific URL
     186– `wp mamba-cache-for-woocommerce purge urls <file>` – Purge URLs from a file (one per line)
     187– `wp mamba-cache-for-woocommerce purge product <id>` – Purge cache for specific product ID
     188– `wp mamba-cache-for-woocommerce purge category <term_id>` – Purge cache for specific category
     189– `wp mamba-cache-for-woocommerce purge shop` – Purge shop page cache
     190– `wp mamba-cache-for-woocommerce purge home` – Purge homepage cache
     191– `wp mamba-cache-for-woocommerce purge tags <tag1,tag2,...>` – Purge CDN by cache tags
     192
     193**Warmup Commands:**
     194
     195– `wp mamba-cache-for-woocommerce warmup start` – Start background cache warmup
     196– `wp mamba-cache-for-woocommerce warmup status` – Check warmup job progress (JSON output)
     197– `wp mamba-cache-for-woocommerce warmup cancel` – Cancel running warmup job
     198– `wp mamba-cache-for-woocommerce warmup resume` – Resume paused warmup job
     199– `wp mamba-cache-for-woocommerce warmup errors` – View warmup errors (JSON output)
     200
     201**Options:**
     202
     203– `--and-warm` – Automatically warm the URL after purging (available on url, urls, category, shop, home commands)
     204
     205**Examples:**
     206
     207`# Purge all cache`
     208wp mamba-cache-for-woocommerce purge all
     209
     210`# Purge and warm a specific product`
     211wp mamba-cache-for-woocommerce purge product 123 --and-warm
     212
     213`# Purge shop page and warm it`
     214wp mamba-cache-for-woocommerce purge shop --and-warm
     215
     216`# Start warmup job`
     217wp mamba-cache-for-woocommerce warmup start
     218
     219`# Check warmup status`
     220wp mamba-cache-for-woocommerce warmup status
     221
     222
     223### REST API Endpoints
     224
     225Programmatic access to Mamba's WooCommerce caching and optimization features:
     226
     227**Status & Monitoring:**
     228
     229– `GET /wp-json/mamba-wc/v1/cache-status` – Cache status, hit rates, coverage metrics
     230– `GET /wp-json/mamba-wc/v1/stats` – Detailed performance statistics
     231– `GET /wp-json/mamba-wc/v1/cache-counts` – Cache counts by content type (products, categories, etc.)
     232– `GET /wp-json/mamba-wc/v1/purge-stats` – Purge operation statistics
     233
    144234**Cache Management:**
    145235
    146 – `wp mamba purge` – Purge all cache (page cache, Store API, fragments)
    147 – `wp mamba purge page` – Purge only page cache
    148 – `wp mamba purge api` – Purge only Store API cache
    149 – `wp mamba purge url <url>` – Purge specific WooCommerce product/category URL
    150 – `wp mamba purge product <id>` – Purge cache for specific product ID
    151 – `wp mamba purge category <slug>` – Purge cache for specific category
     236– `POST /wp-json/mamba-wc/v1/purge` – Purge caches (body: `{type: "all|page|api|url", url: "..."}`)
    152237
    153238**Warmup Operations:**
    154239
    155 – `wp mamba warmup` – Start background cache warmup for all catalog pages
    156 – `wp mamba warmup products` – Warm up all product pages
    157 – `wp mamba warmup categories` – Warm up all category/tag pages
    158 – `wp mamba warmup shop` – Warm up main shop page
    159 – `wp mamba warmup status` – Check warmup job progress
    160 
    161 **Database Operations:**
    162 
    163 – `wp mamba db optimize` – Run all database cleanup tasks
    164 – `wp mamba db optimize sessions` – Clean expired WooCommerce sessions
    165 – `wp mamba db optimize orders` – Clean orphaned order data
    166 – `wp mamba db optimize products` – Clean orphaned product data
    167 – `wp mamba db status` – Show database optimization status
    168 
    169 **Monitoring & Diagnostics:**
    170 
    171 – `wp mamba status` – Display comprehensive cache and performance statistics
    172 – `wp mamba status detailed` – Show detailed metrics including hit rates, coverage, and savings
    173 – `wp mamba config` – Display current Mamba configuration
    174 – `wp mamba test` – Run cache functionality tests
    175 
    176 **Examples:**
    177 
    178 # Purge all cache
    179 wp mamba purge
    180 
    181 # Warm up product catalog after bulk import
    182 wp mamba warmup products
    183 
    184 # Clean database after order migration
    185 wp mamba db optimize orders
    186 
    187 # Check cache performance
    188 wp mamba status detailed
    189 
    190 
    191 ### REST API Endpoints
    192 
    193 Programmatic access to Mamba's WooCommerce caching and optimization features:
    194 
    195 **Status & Monitoring:**
    196 
    197 – `GET /wp-json/mamba/v1/status` – Cache status, hit rates, coverage metrics
    198 – `GET /wp-json/mamba/v1/stats` – Detailed performance statistics
    199 – `GET /wp-json/mamba/v1/warmup/{job_id}` – Background warmup job status
    200 – `GET /wp-json/mamba/v1/db/counts` – Database cleanup task counts
    201 
    202 **Cache Management:**
    203 
    204 – `POST /wp-json/mamba/v1/purge` – Purge all caches
    205 – `POST /wp-json/mamba/v1/purge/page` – Purge page cache only
    206 – `POST /wp-json/mamba/v1/purge/api` – Purge Store API cache only
    207 – `POST /wp-json/mamba/v1/purge/url` – Purge specific URL (body: `{url: "https://example.com/product/test"}`)
    208 – `POST /wp-json/mamba/v1/purge/product/{id}` – Purge specific product
    209 – `POST /wp-json/mamba/v1/purge/category/{slug}` – Purge specific category
    210 
    211 **Warmup Operations:**
    212 
    213 – `POST /wp-json/mamba/v1/warmup` – Start background warmup
    214 – `POST /wp-json/mamba/v1/warmup/products` – Warm up product pages
    215 – `POST /wp-json/mamba/v1/warmup/categories` – Warm up category pages
    216 – `GET /wp-json/mamba/v1/warmup/jobs` – List active warmup jobs
    217 
    218 **Database Operations:**
    219 
    220 – `POST /wp-json/mamba/v1/db/optimize` – Run database cleanup
    221 – `POST /wp-json/mamba/v1/db/optimize/{task}` – Run specific cleanup task
    222 – `GET /wp-json/mamba/v1/db/tasks` – List available cleanup tasks
    223 – `GET /wp-json/mamba/v1/db/overview` – Database optimization overview
    224 
    225 **Configuration:**
    226 
    227 – `GET /wp-json/mamba/v1/settings` – Get current settings
    228 – `POST /wp-json/mamba/v1/settings` – Update settings (requires admin authentication)
    229 – `GET /wp-json/mamba/v1/cdn/test` – Test CDN connection
    230 – `POST /wp-json/mamba/v1/cdn/purge` – Send CDN purge request
     240– `POST /wp-json/mamba-wc/v1/warmup` – Start foreground warmup
     241– `POST /wp-json/mamba-wc/v1/background-warmup` – Start background warmup job
     242– `GET /wp-json/mamba-wc/v1/warmup-status` – Check warmup job progress
     243– `POST /wp-json/mamba-wc/v1/warmup-cancel` – Cancel running warmup job
     244– `POST /wp-json/mamba-wc/v1/warmup-resume` – Resume paused warmup job
     245– `GET /wp-json/mamba-wc/v1/warmup-errors` – Get warmup error log
     246– `GET /wp-json/mamba-wc/v1/background-jobs` – List active background jobs
    231247
    232248**Authentication:**
    233249
    234 All REST endpoints require WordPress admin authentication. Use standard WordPress authentication methods (cookies, application passwords, or OAuth).
     250All REST endpoints require WordPress admin authentication (`manage_options` or `manage_woocommerce` capability). Use standard WordPress authentication methods (cookies, application passwords, or OAuth).
    235251
    236252
     
    241257When updating products via API, automatically purge affected cache:
    242258
    243 # After updating product via WooCommerce REST API
    244 
    245 curl -X POST https://example.com/wp-json/mamba/v1/purge/product/123 \
     259`# After updating product via WooCommerce REST API`
     260curl -X POST https://example.com/wp-json/mamba-wc/v1/purge \
     261  -H "Content-Type: application/json" \
     262  -d '{"type":"url","url":"https://example.com/product/my-product/"}' \
    246263  -u username:password
    247264
     
    251268Include cache warmup in deployment pipelines:
    252269
    253 # After deployment, warm up critical pages
    254 
    255 wp mamba warmup shop
    256 wp mamba warmup categories
    257 wp mamba purge  # Clear any stale cache
     270`# After deployment, clear stale cache and warm up`
     271wp mamba-cache-for-woocommerce purge all
     272wp mamba-cache-for-woocommerce warmup start
    258273
    259274
     
    262277Monitor WooCommerce performance in external systems:
    263278
    264 # Check cache hit rates
    265 
    266 wp mamba status | grep "Hit Rate"
     279`# Check warmup status`
     280wp mamba-cache-for-woocommerce warmup status
    267281
    268282
     
    371385= Can I customize cache behavior? =
    372386
    373 Yes, extensively! Mamba provides 60+ filters for developers to customize TTL, cache keys, invalidation logic, and more. See our [Developer Reference](docs/api-reference.html) for details.
     387Yes, extensively! Mamba provides 70+ filters for developers to customize TTL, cache keys, variants, warmup behavior, and more. See our [Developer Reference](docs/api-reference.html) for details.
    374388
    375389= What happens if I deactivate Mamba? =
Note: See TracChangeset for help on using the changeset viewer.