Re: Schema.org just published a JSON-LD context

Brilliant news!


However..


    Cache-Control: no-cache

means the context will be re-requested for every parsing.  (e.g.
jsonld-java will normally cache contexts -
https://github.com/jsonld-java/jsonld-java#controlling-network-traffic)
I guess Google can handle the load, but it would mean slow-down for
clients.


Also the header

    Vary: Accept

is missing (indicating that you could get a different representation
if you have a different Accept header) - but given the above that is
not a big issue..



On 16 June 2014 22:48, Markus Lanthaler <markus.lanthaler@gmx.net> wrote:
> Hi folks,
>
> Today is another important milestone for JSON-LD as Schema.org just
> published a first version of their context. See yourself:
>
>    curl http://schema.org  -H "Accept: application/ld+json"
>
> Thanks Dan!
>
>
> Cheers,
> Markus
>
>
> P.S. Those of you who don't have curl installed can have a look at the
> context here:
>   http://schema.org/docs/jsonldcontext.json.txt
>
>
> --
> Markus Lanthaler
> @markuslanthaler
>
>
>
>



-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester
http://soiland-reyes.com/stian/work/ http://orcid.org/0000-0001-9842-9718

Received on Tuesday, 17 June 2014 10:14:03 UTC