W3C home > Mailing lists > Public > public-linked-json@w3.org > June 2014

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

From: Dan Brickley <danbri@danbri.org>
Date: Tue, 17 Jun 2014 11:21:29 +0100
Message-ID: <CAFfrAFoyPUqYDXVHguM7+a6Oupi13f9t7uSKTd9=WVVRSxBJbA@mail.gmail.com>
To: Stian Soiland-Reyes <soiland-reyes@cs.manchester.ac.uk>
Cc: Markus Lanthaler <markus.lanthaler@gmx.net>, Linked JSON <public-linked-json@w3.org>
On 17 June 2014 11:13, Stian Soiland-Reyes
<soiland-reyes@cs.manchester.ac.uk> wrote:
> 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..

Thanks. This release was bordering on the 'easter egg' level of
maturity, but I think we can fix it up pretty quickly. There's basic
caching in the (appengine) app so the context file is only computed
once, but you're right these details need attending to.

Dan

>
>
> 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:22:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:41 UTC