Skip to content
This repository was archived by the owner on Sep 15, 2023. It is now read-only.
This repository was archived by the owner on Sep 15, 2023. It is now read-only.

requests.get() hits a stale cache without X-API-Key #23

Description

@ManicJamie

I have an application which gets unverified runs every minute (SRC api appears to update every 5mins), but it appears that the current raw requests.get() hits a cache and continues to fetch stale data that eg. firefox does not retrieve for around 10 minutes.

Isolated to the PHPSESSID cookie - there may be some optimisation on SRC's end that forces new sessions to hit a cache but allows existing sessions to fetch fresh data. Manually inserting the cookie from my Firefox into the headers correctly fetches fresh data.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions