question

xblhb233-9176 avatar image
0 Votes"
xblhb233-9176 asked SamWu-MSFT edited

trace warning: REWRITE_DISABLED_KERNEL_CACHE

Can someone help me solve the error below?

142552-capture.png


windows-server-iis
capture.png (20.4 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SamWu-MSFT avatar image
0 Votes"
SamWu-MSFT answered SamWu-MSFT edited

@xblhb233-9176

Do you have any server variables or headers which is not listed in Interaction with IIS Output caching section? If you have, please avoid to use them, as the rule set is considered unsafe for output caching. This means that the URL Rewrite Module will disable kernel mode caching for all requests. This may cause the delay.

The URL Rewrite Module will disable kernel mode cache if any rule in a rule set had a condition that used cache unsafe server variable. The cache was disabled regardless whether the requested URL matched the rule pattern or not.


If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.