Validation of Akamai caching

时间:2016-10-20 19:28:55

标签: akamai

We have cached html and png pages in Akamai by changing the waa config. But unable to validate it through fiddler, live http headers or through curl commands. Below are the screenshots. Please help if I missed any headers

Fiddler: live http header Curl command :

$ curl -H "Pragma: akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key, akamai-x-get-extracted-values, akamai-x-get-nonces, akamai-x-get-ssl-client-session-id, akamai-x-get-true-cache-key, akamai-x-serial-no" -IXGET "url"

Response : HTTP/1.1 200 OK Date: Thu, 20 Oct 2016 19:15:53 GMT Content-Length: 19836 Content-Type: image/png X-FRAME-OPTIONS: DENY

2 个答案:

答案 0 :(得分:1)

在Akamai WAF(Web应用程序防火墙)中,很少有WAF规则阻止向用户显示编译指示标头。您需要为这些WAF规则创建例外,并仅向其添加受信任的IP。然后,您将能够看到您要查找的信息。谢谢,Vinod

答案 1 :(得分:1)

我会仔细检查你是否肯定会发送带有请求的Pragma标头,并且它也正确形成。我已经看到很多人试图设置它并且没有把它弄好。

此外值得回顾一下您的Akamai配置,因为它也可以关闭 - 有些客户更愿意出于安全原因这样做。