hi.
i would like to add some caching rules to my configuration. I have one setting that works:
<location path="docs/Default.aspx">
<system.webServer>
<caching>
<profiles>
<add extension=".aspx" policy="CacheForTimePeriod" kernelCachePolicy="CacheForTimePeriod" duration="23:00:30" />
</profiles>
</caching>
</system.webServer>
</location>
Now, I my root directory, I would like to add the same caching for all .aspx-files. I can't seem to get this to work. I tried changing the "path" part to ".", to "~/" and to "~": nothing works - whenever I request an aspx from the root, I get a return code 200. (in the working example, I get 304, as expected.).
because this didn't work, I also tried "path=Default.aspx", in order to change the ttl just for the default page. no luck either. I haven't got the faintest idea what would be causing this. any suggestions?
WM_THX
-thomas woelfer