Re: [Wikidata-tech] Caches for Special:EntityData json

2016-02-29 Thread Markus Krötzsch
Hi, Yes, 31 days is indeed quite long. Another workaround for some people might be to use the API (action=wbgetentties) instead. However, this was not so easy for me since my JavaScript application complains about the cross-site request here even though this action is only for reading and has

Re: [Wikidata-tech] Caches for Special:EntityData json

2016-02-29 Thread Stas Malyshev
Hi! > Output from Special:EntityData is cached for 31 days. Looking at the code, it > seems we are not automatically purging the web caches when an entity is > edited - > please file a ticket for that. I think we originally decided against it for > performance reasons (there are quite a few URLs

Re: [Wikidata-tech] Caches for Special:EntityData json

2016-02-29 Thread Daniel Kinzler
Output from Special:EntityData is cached for 31 days. Looking at the code, it seems we are not automatically purging the web caches when an entity is edited - please file a ticket for that. I think we originally decided against it for performance reasons (there are quite a few URLs to purge for eve

[Wikidata-tech] Caches for Special:EntityData json

2016-02-29 Thread Markus Krötzsch
Hi, I found that Special:EntityData returns outdated JSON data that is not in agreement with the page. I have fetched the data using wget to ensure that no browser cache is in the way. Concretely, I have been looking at https://www.wikidata.org/wiki/Special:EntityData/Q17444909.json where I