JSON-LD Best Practice: Context Caching

Hi folks,

We've been getting requests to write up some best practices for JSON-LD.
Here's a proposal for one:

TL;DR: Don’t ever put a system that uses JSON-LD into production without
thinking about your JSON-LD context caching strategy. If you want to use
JSON-LD, your strategy should probably either be: Cache common contexts
and do JSON-LD processing or don’t do JSON-LD processing, but enforce an
input format via something like JSON Schema on your clients so they’re
still submitting valid JSON-LD.

http://manu.sporny.org/2016/json-ld-context-caching/

-- manu

-- 
Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
Founder/CEO - Digital Bazaar, Inc.
blog: Web Payments: The Architect, the Sage, and the Moral Voice
https://manu.sporny.org/2015/payments-collaboration/

Received on Tuesday, 26 April 2016 00:17:28 UTC