Skip to content
Discussion options

You must be logged in to vote

I’ve noticed this kind of delay before with raw GitHub files-it’s usually just caching. When you commit a change, it can take a short time before the raw file URL actually shows the update. It’s not a bug; it’s just how the server and caching work.
A few things you can do:
• Give it a few seconds after committing before your program downloads the file. Even 30–60 seconds usually fixes it.
• Manually check the raw file in your browser first to make sure it has the latest changes before trying to download it programmatically.
• Add a unique query string to the URL (like ?t=timestamp) so the server treats it as a new request and fetches the newest version.
Basically, just be aware that the r…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@mogplus88
Comment options

@nuran-command
Comment options

@mogplus88
Comment options

@nuran-command
Comment options

Answer selected by mogplus88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community!
2 participants