daniel added a comment.

  When reloading the query interface multiple times, I only sometimes get the 
304 response as expected. Sometimes I get a 200 response with a new copy of the 
data - and a different timestamp and etag. Here are two responses for 
https://query.wikidata.org/vendor/wdqs-explorer/vis.js:
  
  HTTP/1.1 304 Not Modified
  Date: Tue, 19 Apr 2016 14:16:08 GMT
  Content-Type: application/javascript
  Server: nginx/1.9.3
  Last-Modified: Mon, 22 Feb 2016 22:23:01 GMT
  Etag: "56cb8a45-118e49"
  X-Served-By: wdqs1001
  Content-Encoding: gzip
  x-varnish: 690103699, 2499762542, 1219053830
  Via: 1.1 varnish, 1.1 varnish, 1.1 varnish
  Accept-Ranges: bytes
  Age: 0
  X-Cache: cp1061 miss(0), cp3009 miss(0), cp3010 frontend miss(0)
  Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
  x-analytics: WMF-Last-Access=19-Apr-2016;https=1
  x-client-ip: 87.138.110.76
  X-Firefox-Spdy: 3.1
  
  HTTP/1.1 200 OK
  Date: Tue, 19 Apr 2016 14:37:50 GMT
  Content-Type: application/javascript
  Content-Length: 231830
  Server: nginx/1.9.4
  Last-Modified: Tue, 12 Apr 2016 21:03:03 GMT
  Etag: "570d6287-118e49"
  X-Served-By: wdqs1002
  Content-Encoding: gzip
  x-varnish: 690662416, 2499930515, 1219092302 1219089585
  Via: 1.1 varnish, 1.1 varnish, 1.1 varnish
  Accept-Ranges: bytes
  Age: 96
  X-Cache: cp1061 miss(0), cp3009 miss(0), cp3010 frontend hit(1)
  Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
  x-analytics: WMF-Last-Access=19-Apr-2016;https=1
  x-client-ip: 87.138.110.76
  X-Firefox-Spdy: 3.1
  
  So it seems that the responses I get from different varnish or nginx 
instances are inconsistent.

TASK DETAIL
  https://phabricator.wikimedia.org/T133026

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Smalyshev, daniel
Cc: daniel, TerraCodes, Gehel, Lydia_Pintscher, JanZerebecki, Jonas, Aklapper, 
Avner, debt, D3r1ck01, FloNight, Izno, jkroll, Smalyshev, Wikidata-bugs, 
Jdouglas, aude, Deskana, Manybubbles, Mbch331



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to