Functiondojox.off.files.cache

dojo.require("dojox.off.files");
defined in dojox/off/files.js

void Caches a file or list of files to be available offline. This can either be a full URL, such as http://foobar.com/index.html, or a relative URL, such as ../index.html. This URL is not actually cached until dojox.off.sync.synchronize() is called.

Usage

function (/*String*/ urlOrList) (view source)
parametertypedescription
urlOrListStringor Array[] A URL of a file to cache or an Array of Strings of files to cache console.debug("dojox.off.files.cache, urlOrList="+urlOrList);