Updated: Seem it has about 5 minutes to update raw. I will close my question at here.
I have a problem with Github.
I want to get the file as raw
format.
I add new commit and my file is updated.
Look like this:
I add JUST
keyword in variable tech
.
When I click raw
. It keeps the previous version.
Look like this:
Have any method to get raw
version of the file was commit.
GitHub serves "raw" pages with Cache-Control: max-age=300 . That's specified in seconds, meaning the pages are intended to be cached for 5 minutes. You can see this if you open the Developer Tools in your web browser of choice before clicking the "Raw" button on GitHub.
The Raw button, like the name suggests, opens the file in a raw form, meaning that any HTML formatting disappears. This is particularly useful when you want to download a single file.
Viewing or copying the raw file contentOn GitHub.com, navigate to the main page of the repository. Click the file that you want to view. In the upper-right corner of the file view, click Raw. Optionally, to copy the raw file content, in the upper-right corner of the file view, click .
GitHub serves "raw" pages with Cache-Control: max-age=300
. That's specified in seconds, meaning the pages are intended to be cached for 5 minutes.
You can see this if you open the Developer Tools in your web browser of choice before clicking the "Raw" button on GitHub.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With