IIS 7.5 でホストされているサイトの拡張機能ベースのキャッシュを実行する必要があるプロジェクトに取り組んでいます。
でこのコード部分を使用していますweb.config
:
<staticContent>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="00:10:00" />
</staticContent>
<caching enabled="true" enableKernelCache="true">
<profiles>
<add extension=".aspx" policy="CacheForTimePeriod" kernelCachePolicy="CacheForTimePeriod" duration="00:10:00" location="Downstream" />
<add extension=".xml" policy="CacheForTimePeriod" kernelCachePolicy="CacheForTimePeriod" duration="10:00:00" location="Downstream" />
<add extension=".php" policy="CacheForTimePeriod" kernelCachePolicy="CacheForTimePeriod" duration="00:10:00" location="Downstream" />
<add extension=".js" policy="CacheForTimePeriod" kernelCachePolicy="CacheForTimePeriod" duration="00:10:00" location="Downstream" />
<add extension=".css" policy="CacheForTimePeriod" kernelCachePolicy="CacheForTimePeriod" duration="00:10:00" location="Downstream" />
<add extension=".png" policy="CacheForTimePeriod" kernelCachePolicy="CacheForTimePeriod" duration="10:00:00" location="Downstream" />
<add extension=".axd" policy="CacheForTimePeriod" kernelCachePolicy="CacheForTimePeriod" duration="00:10:00" location="Downstream" />
<add extension=".gif" policy="CacheForTimePeriod" kernelCachePolicy="CacheForTimePeriod" duration="10:00:00" location="Downstream" />
<add extension=".txt" policy="CacheForTimePeriod" kernelCachePolicy="CacheForTimePeriod" duration="00:05:00" location="Downstream" />
<add extension=".html" policy="CacheForTimePeriod" kernelCachePolicy="CacheForTimePeriod" duration="00:10:00" location="Downstream" />
<add extension=".htm" policy="CacheForTimePeriod" kernelCachePolicy="CacheForTimePeriod" duration="00:10:00" location="Downstream" />
<add extension=".vbs" policy="CacheForTimePeriod" kernelCachePolicy="CacheForTimePeriod" duration="00:10:00" location="Downstream" />
<add extension=".flv" policy="CacheForTimePeriod" kernelCachePolicy="CacheForTimePeriod" duration="10:00:00" location="Downstream" />
</profiles>
</caching>
しかし、どういうわけか、すべての拡張で、10 分のキャッシュ TTL しか得られません。
この仕事を得るために私がしなければならないことは他にありますか?