You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
mattcomi
changed the title
Unusual caching issue
Unusual caching issue when using extended=full and trakt ID
Jun 6, 2019
mattcomi
changed the title
Unusual caching issue when using extended=full and trakt ID
Unusual caching issue when using Trakt ID and extended=full.
Jun 6, 2019
I'm seeing similar behaviour for Archer and Yellowstone at the moment. From my device (in Perth), the next episodes are correct, but in Indianapolis, they are still reporting the previous episodes, which aired yesterday.
This is due to the caching at Cloudflare. We cache responses for 8 hours and that would be dependent on their data centers around the world, which is why different locations might return different info. We unfortunately need to keep the cache time higher like this so the API servers don't get increased loads from these more "static" information methods.
Hi, when I request the next episode of Game of Thrones with extended=full like this:
I'm getting a response:
Which indicates that there is a next episode of Game of Thrones, which is incorrect.
However, if I removed extended=full, I don't get a response, which is correct. When I examine the headers on the extended=full request, I get this:
Note in particular date is 06 Jun 2019, but cf-cached-on is 19 May 2019. So it looks like Cloudflare is holding onto the value for way too long.
On the other hand, it's possible I'm doing something weird.
I can break through the cache by adding an arbitrary parameter to the URL, but obviously this isn't a great idea.
I'm not sure, but this may be related to #56.
The text was updated successfully, but these errors were encountered: