mtgjson / mtgjson3

MTGJSON repository for Magic Cards
http://mtgjson.com
Other
545 stars 102 forks source link

AllSetsArray-x.json file gone #567

Closed pruggia closed 6 years ago

pruggia commented 6 years ago

This page http://mtgjson.com/documentation.html points to a file http://mtgjson.com/json/AllSetsArray-x.json that is not there anymore since yesterday. Is this intentional? Is there any difference between AllSetsArray.json and AllSetsArray-x.json? Thanks!

Nico-J commented 6 years ago

Hello, I am encountering the same issue. The server returns HTTP 304 "Not modified", which is usually used to tell the client that the version in the client's cache is still up to date. To achieve this, the browser usually sends the cache's date and a unique identifier in the header to tell the server which version of the resource the client has. If you change the date to an earlier version, modify the identifier or even leave out all those headers, the server should send the full source for the client to cache. But this doesn't happen. In this case it keeps returning a HTTP 200 "OK" but with no payload data.

What could lead to this problem?

ZeldaZach commented 6 years ago

I triggered a rebuild just now. Lets see if that works

Nico-J commented 6 years ago

Seems to work now, thank you! :)