Yup, I believe the ticket for that is https://phabricator.wikimedia.org/T153897
On 22.12.2016 21:53, Ruben Verborgh wrote:
Hi Stas,
I found an important problem with the current configuration, that is likely a major factor in the performance loss we see.
I noticed that https://query.wikidata.org/bigdata/ldf is served on HTTPS, and even with HTTP/2. However, the hypermedia controls inside of the message direcs the server to the HTTP version of the URL:
$ curl -s -H "Accept: text/turtle" https://query.wikidata.org/bigdata/ldf | grep '?subject' http://query.wikidata.org/bigdata/ldf{?subject,predicate,object}"
This means that, for every request, the browser has to perform 2 requests:
- the request to http://query.wikidata.org/bigdata/ldf?%E2%80%A6, which will redirect to the https:// version
- the request to https://query.wikidata.org/bigdata/ldf?%E2%80%A6
So this gives us all of the drawbacks of HTTP 1.1 and none of the advantages of HTTP/2 :-)
Could you please set "baseURL": "https://query.wikidata.org/bigdata/" and verify that this gives indeed https://query.wikidata.org/bigdata/ldf%7B?subject,predicate,object%7D" in the resulting pages?
Best,
Ruben _______________________________________________ Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata