I am willing to configure caching for my IO Runtime action using the Cache Control Header - Cache-Control:max-age=1800.
Although the header is coming up in response, but the action is not hitting the cache on subsequent calls.
Also the header X-Cache is CONFIG_NOCACHE , which signifies that Caching has not been configured from Azure CDN (Note that IO runtime is internally leveraging MS Azure)
Is there any thing else that needs to configured for this to work?
Below are the cache related headers which I am currently getting as part of IO Action response:
Cache-Control: max-age=1800
X-Cache:CONFIG_NOCACHE
x-gw-cache:BYPASS
Thanks and regards,
Ronit Banerjee.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
@banerjee_ronit - how are you inspecting the request? using Postman?
Please make sure that you un-check "disable cache" in Postman settings (which is checked by default).
And also you should make a GET call, not POST.
Views
Replies
Total Likes
@duypnguyen - Any insights/suggestions on the above would be of great help.
Views
Replies
Total Likes
@banerjee_ronit - how are you inspecting the request? using Postman?
Please make sure that you un-check "disable cache" in Postman settings (which is checked by default).
And also you should make a GET call, not POST.
Views
Replies
Total Likes
@duypnguyen - Tested from browser (GET call) and its working. Thanks!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies