Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix caching of requests for debbie script #2

Open
cceckman opened this issue Jun 24, 2017 · 0 comments
Open

Fix caching of requests for debbie script #2

cceckman opened this issue Jun 24, 2017 · 0 comments

Comments

@cceckman
Copy link
Owner

Github appears to add some level of caching to its responses on raw.github.com; for some number of minutes after a commit, I still see the pre-commit contents.

In order to iterate quickly, I should work out how to bypass this.

  • Use the Github API, i.e. serving directly from cceckman.com rather than doing an HTTP redirect. This also removes the need for -L.
  • Something with HTTP headers to request an uncached version. Cache-Control: max-age= or no-cache?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant