Akamai response validate steps

Avatar

Avatar
Validate 1
Level 1
mohanasundaramp
Level 1

Like

1 like

Total Posts

30 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile

Avatar
Validate 1
Level 1
mohanasundaramp
Level 1

Like

1 like

Total Posts

30 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile
mohanasundaramp
Level 1

11-04-2021

Hi Team,

I have created akamai API call to invalidate the URI in my project. iam able to get the response but after getting response where i need to check what are files are cached .can anyone please suggest where i need to check for know the files cached during akami api invoke with success code.

 

Please find my response status below.

 

akamai response body : {"httpStatus":201,"detail":"Request accepted","supportId":"eiup-P2pqZYW3v8Ujddwy7PhTo6","purgeId":"eiup-P2pqZYW3v8Ujddwy7PhTo6","estimatedSeconds":5}

akamai response statusLine : HTTP/1.1 201 Created

akamai response statusLine.getStatusCode : 201

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

66 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile

Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

66 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
Level 4

12-04-2021

Hey @mohanasundaramp if you're getting this response from Akamai then that means your URI cache has been purged. You must be sending an INVALIDATE/DELETE request to Akamai using their Fast Purge V3 API.

 

Coming to validating whether cache for those path(s) was cleared, you can turn off the cache purge agent(or whatever way you are sending the request to Akamai, may be while externalizing the URIs, you can mess with the externalizer.PPUBLISH confiuration or just mess temporarily with your API tokens) and then publish the content.

 

You must be shown cached content from Akamai, then you enable/correct the configuration and publish the content and refresh the page : this time you should be able to get the refreshed content.

In order to check what files(based on extension) are being cached, you need to login to Akamai and go to your respective property and take a look:

bilala23933647_0-1618213260777.png

 

There will be other properties to look at as well!

Hope that helps,

Bilal.



Answers (1)

Answers (1)

Avatar

Avatar
Applaud 25
Level 10
asutosh_jena
Level 10

Likes

593 likes

Total Posts

705 posts

Correct reply

207 solutions
Top badges earned
Applaud 25
Give Back 100
Boost 500
Affirm 100
Ignite 1
View profile

Avatar
Applaud 25
Level 10
asutosh_jena
Level 10

Likes

593 likes

Total Posts

705 posts

Correct reply

207 solutions
Top badges earned
Applaud 25
Give Back 100
Boost 500
Affirm 100
Ignite 1
View profile
asutosh_jena
Level 10

12-04-2021

Hi @mohanasundaramp 

If I understand your question correctly, Akamai Invalidate/Purge will invalidate the cache. It will not create the cache file.

So if you have the already made the rquest you know based on which parameter the request has been made and it;s accepted which is why it returned 201 status code.

Requests can be made using the following approaches:

  1. urlrequest
  2. urlrequestwithhostname
  3. cpcoderequest
  4. tagrequest

https://developer.akamai.com/api/core_features/fast_purge/v3.html#data

 

Thanks!