David Longworth 2016-11-25T14:41:55Z
46 words
1 min read

Preloading data

Configure Web to preload some data. Add a block to the main configuration file like the example below, using your datasource names in place of “channels”:

"data": {
  "preload": [

Accessing preloaded data

var Preload = require('@dadi/web').Preload
var data = Preload().get('key')

See something to improve? Edit in Github.