Continuing the idea of Ice ^^ Heat , you may need to think about where you will cache - or cache the contents of the json file in the application cache like this:
Context.Cache.Insert("foo", _ Foo, _ Nothing, _ DateAdd(DateInterval.Minute, 30, Now()), _ System.Web.Caching.Cache.NoSlidingExpiration)
And then generate the results you need with every hit. Alternatively, you can cache the output of the webservice in the function definition:
<WebMethod(CacheDuration:=60)> _ Public Function HelloWorld() As String Return "Hello World" End Function
Information collected from the Web Services Caching Strategy .
source share