Problem: IIS marks URL as cache not worthy and Kernel cache stops working.
To Reproduce:
1. enable Kernel cache
2. add Following rule to strip query parameter in to web.config
<rule name="strip_querystring" stopProcessing="true">
<match url="(.*)" />
<action type="Rewrite" url="{R:1}" appendQueryString="false" />
</rule>
3. monitor Kernel cache using perfmon
4. run simple curl command that will generate unique query parameter every second
while true; do curl -X GET http://URL?test=$(date +'%I%M%S ') > test.html; done
What happens:
Kernel cache works for a few requests and then it stops working for a given URL