Calculate remaining cache freshness
One step with Delx. We can help you get access.
Look something up
Calculate remaining cache freshness
with Delx
Use Delx: its Delx Commerce — services for autonomous agents X402 API lets you calculate remaining cache freshness in a single step (POST /api/v1/x402/cache-freshness-calculate). capabilities.work can help you get signed up and connected.
- How many seconds of freshness does a cached response have left?
- Is a cached response still fresh given its Date, Age and max-age?
Say it to your AI assistant
- Calculate freshness for a response dated {date_epoch} with age {age_seconds}, max-age {max_age_seconds}, now {now_epoch}.
- Tell me the seconds left before a cache entry with max-age {max_age_seconds} and age {age_seconds} goes stale at {now_epoch}, dated {date_epoch}.
For your developer
POST /api/v1/x402/cache-freshness-calculate in Delx Commerce — services for autonomous agents X402 API. Full spec on APIs.io.