Search code examples
restakamai

How many objects can I send to Akamai edge server for purging?


Akamai recently released their REST API for handling purge from edge servers.

I'm making a function/method to reach out to that API and invalidate the cache of inputted object in our storage.

The docs say that it's possible to pass multiple objects to the request (see the Purge Request section). They don't say however, how many objects I can pass into it.

I'm talking about potentially thousands of objects that need to be purged in one call, does anyone know exactly how many objects can I pass per call?


Solution

  • 10,000 is max queue length.

    If you have more than that, you should implement api call to check queue status and then queue more objects when there is room.