createOnlineDataProvider
Creates an instance of DataProvider that handles resource requests of HTTP and HTTPS protocols via the network.
Instances created by this method have a caching mechanism to reduce the number of network calls. Upon a resource request, this mechanism first checks against an in-memory cache. If the resource is unavailable in the in-memory cache, it falls back to a persistent cache. If it doesn't find the resource in the persistent cache, it propagates the request to the httpHandler.
Parameters
httpHandler
An instance of HttpHandler for handling online requests.