dojo.cache

Deprecated. Use the dojo/text! plugin instead.

Old syntax:

var text = dojo.cache("my.module", "template.html");
...

New syntax:

require("dojo/text!my/module/template.html", function(text){
    ...
});

Table of Contents

Error in the documentation? Can’t find what you are looking for? Let us know!