AI Cache Optimizer
ProMaximize cache efficiency and reduce origin load by automatically adjusting TTL based on request frequency and data mutation patterns.
How Cache Optimization Works
Manually configuring static cache rules is often inefficient. Underestimating TTL results in redundant misses and high origin workload. Overestimating TTL risks serving stale content to users.
AI Cache Optimizer monitors cache status, request velocity, cache invalidations, and origin response update frequencies. It runs continuous simulations to adjust TTLs dynamically for individual resource paths, ensuring high hit-rates for hot data while purging or skipping caching for cold or frequently changing records.
Dashboard Setup & Configuration
You can configure the AI Cache Optimizer directly inside the EdgeWrap Dashboard:
- Navigate to your project in the dashboard at
https://app.edgewrap.pro. - Go to the Performance page and select the Edge Caching tab.
- Under cache settings, toggle the AI Cache Optimizer switch to Enabled.
- Click Save Settings.
API Configuration
Alternatively, you can activate the AI Cache Optimizer programmatically:
curl -X PATCH https://server.edgewrap.pro/v1/projects/prj_01jxyz/cache/config \
-H "Authorization: Bearer <your_session_token>" \
-H "Content-Type: application/json" \
-d '{ "aiTtlOptimizerEnabled": true }'