As I know you can't have the manifest stored offline. Even in offline
mode, the manifest will be requested periodically and updates will be
made.
See documentation for more info:

"The contents of a ManagedResourceStore are determined by the URLs
listed in a manifest file. When all resources listed in the manifest
have been captured, the LocalServer makes the set eligible for use.
Periodically, the LocalServer checks for an updated manifest file. If
the manifest file has been updated, LocalServer automatically
downloads the updated set of resources."

Hope this helps,

Eduard

On Nov 20, 5:34 am, 啊涛 <[EMAIL PROTECTED]> wrote:
> today,  I try the "currentVersion" function, i found a question.
>
> Coding :
> ................
> localServer = google.gears.factory.create('beta.localserver', '1.0');
>    store = localServer.createManagedStore('LocalDBUpdata');
>    alert("The user local version:"+store.currentVersion);
>    store.manifestUrl = '/localdbupdata.json';
>    store.checkForUpdate();
> ..................
> localdbupdata.json  ....
>
> {
>   "betaManifestVersion": 1,
>   "version": "20080707_v123",
>   "entries": [
>         { "url": "/js/gears/localdbupdata.js" }
>         ]
>
> };
>
>  Every time,i updata the localdbupdata.json 's  version name,  i
> refresh the IE ,then, go to click Offline button . the
> "store.currentVersion"   get  my service's  manifestUrl file's
> version !!!!   Not, the local  offline version

Reply via email to