I have the CacheDuration attribute set for 60 seconds as show below:
<WebMethod(CacheDuration:=60, Description:="Method to demonstrate
caching")> _
Public Function CachedString(ByVal inputInt As Integer) As String
Return "The time is " & DateTime.Now.ToLongTimeString
End Function
When I invoke this page from IE using the same parametr in case then
caching does not appear to be working.
Do I have to enable caching elsewhere?
Regards
John L
delly_jm - 26 Aug 2005 21:08 GMT
I have done testing with Application Test Center and made requests on cached
methods and database query methods without caching and the response is almost
the same. Not much benefit if the caching was supposed to be on.
Seems others have been having the same issue (including myself)...maybe we
can follow the post below and see if there's any feedback. A Microsoft MVP
has it now.
http://www.dotnet247.com/247reference/msgs/56/284168.aspx
Delton
> I have the CacheDuration attribute set for 60 seconds as show below:
>
[quoted text clipped - 12 lines]
>
> John L