We use WCF-RIA Services in our project. In part, this is a search that will trigger an RIA request on the server.
For this request, we have included the client output cache using this attribute:
[OutputCache(OutputCacheLocation.Client, duration: 2 * 60)]
We want to use the clientโs cache, because the information that will be cached depends on the user. The problem is that the cache works fine in Firefox and IE after the application is installed in IIS, but when debugging, IE seems to ignore caching.
Perhaps this is actually not a RIA Service problem, but an IE problem. It looks like IE sees: โHey, this is a localhost request, I don't want to cache thisโ (some kind of feature).
This is a little useless because the debugging situation does not match the live situation.
Is there a way to use WCF-RIA Services client cache in IE during debugging?
source share