The datajs team recently announced an updated version of datajs (version 0.0.3).

Highlights include the ability to use HTML5 storage capabilities to cache data from an OData source and read it back later.

Here's code that does just that:

var cache = datajs.createDataCache({
name: "movies",
source: "$filter=Rating eq 'PG'"


// Read ten items from the start
cache.readRange(0, 10).then(function (data) {
//display 'data' results

For more information checkout the announcement post.

As always please share your thoughts on the Mailing List.