Does the URL rewrite the static caching block of IIS files?

If IIS Rewrite is activated, the Cache Hits file counter does not increase.

I am tracking Performance Monitor hits (perfmon.exe / Web Services Cache / File Cache)

If I deactivate the overwriting of "File Cache Grips", they usually increase according to the IIS caching algorithm.

The requested file is a static html file in both cases.

Is URL trapping enabled for IIS static caching?

+5
source share
1 answer

Document state , yes, IIS rewriting can prevent file caching.

Interaction with IIS Output Caching

Rewrite URL- IIS :

URL-, , URL Rewrite. , - URL-. . , IIS IIS. :

  • , ByHeader = "HTTP_X_ORIGINAL_URL". , , URL- .

  • , , URL-, . , URL Rewrite , variableByHeader,

, , - :

"CACHE_URL", "DOCUMENT_ROOT", "HTTP_URL", "HTTP_HOST", "PATH_INFO", "PATH_TRANSLATED", "QUERY_STRING", "REQUEST_FILENAME", "REQUEST_URI", "SCRIPT_FILENAME", "SCRIPT_NAME", "SCRIPT_TRANSLATED", "UNENCODED_URL", "URL", "URL_PATH_INFO", "APP_POOL_ID", "APPL_MD_PATH", "APPL_PHYSICAL_PATH", "GATEWAY_INTERFACE", "SERVER_SOFTWARE", "SSI_EXEC_DISABLED"

3. , , . , URL Rewrite , URL- . , ByValue, , .

0

All Articles