{"id":41380411,"url":"https://github.com/hesreallyhim/github-image-cache-bust","last_synced_at":"2026-01-23T10:56:21.489Z","repository":{"id":322835361,"uuid":"1091043369","full_name":"hesreallyhim/github-image-cache-bust","owner":"hesreallyhim","description":"Demo repo for testing/validating different strategies for busting the cache and refreshing images on GitHub README","archived":false,"fork":false,"pushed_at":"2025-11-18T18:03:10.000Z","size":40,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-11T17:46:25.566Z","etag":null,"topics":["cache-busting","cache-control","git","github","github-config","github-images","github-profile","readme-card","readme-edits","readme-images"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hesreallyhim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["hesreallyhim"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2025-11-06T13:35:38.000Z","updated_at":"2025-11-18T18:07:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/hesreallyhim/github-image-cache-bust","commit_stats":null,"previous_names":["hesreallyhim/test-github-cache-bust","hesreallyhim/github-image-cache-bust"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hesreallyhim/github-image-cache-bust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesreallyhim%2Fgithub-image-cache-bust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesreallyhim%2Fgithub-image-cache-bust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesreallyhim%2Fgithub-image-cache-bust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesreallyhim%2Fgithub-image-cache-bust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hesreallyhim","download_url":"https://codeload.github.com/hesreallyhim/github-image-cache-bust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesreallyhim%2Fgithub-image-cache-bust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28689097,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T05:48:07.525Z","status":"ssl_error","status_checked_at":"2026-01-23T05:48:07.129Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cache-busting","cache-control","git","github","github-config","github-images","github-profile","readme-card","readme-edits","readme-images"],"created_at":"2026-01-23T10:56:19.899Z","updated_at":"2026-01-23T10:56:21.482Z","avatar_url":"https://github.com/hesreallyhim.png","language":null,"funding_links":["https://github.com/sponsors/hesreallyhim"],"categories":[],"sub_categories":[],"readme":"# github-image-cache-bust\n\n**The cache has been busted: 0 times**\n\n## Demo repo for testing/validating the behavior of GitHub's image-caching service (camo)\n\n### What is this?\n\nThe cards on this page are [`github-readme-stats`](https://github.com/anuraghazra/github-readme-stats/) repo cards (adapted on a [fork](https://github.com/hesreallyhim/github-readme-stats-plus/) created and hosted by [hesreallyhim](https://github.com/hesreallyhim) in order to show more repo stats). They show the number of open Issues in this repo.\n\n### OK, so what?\n\nGitHub uses a service called [camo](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-anonymized-urls) for image caching and privacy/anonymization. That means that if you are serving an image with dynamic content[^1], changes to the content may not be reflected right away. This repo illustrates different approaches to cache-busting so you can see for yourself what works or does not work at the current point in time.\n\n## 1. Baseline (no cache-busting techniques applied)\n\n### Usage\n\n\u003e [!tip]\n\u003e Create a new Issue in the repo. Do **not** include the word \"nonce\" anywhere in the body. See if and when the count on the card is actually updated.\n\n```markdown\n[![test-github-cache-bust](https://github-readme-stats-plus-theta.vercel.app/api/pin?username=hesreallyhim\u0026repo=test-github-cache-bust\u0026show_issues=true)](https://github.com/hesreallyhim)\n```\n\n\u003c!-- BASELINE --\u003e\n[![test-github-cache-bust](https://github-readme-stats-plus-theta.vercel.app/api/pin?username=hesreallyhim\u0026repo=test-github-cache-bust\u0026show_issues=true)](https://github.com/hesreallyhim)\n\u003c!-- BASELINE-END --\u003e\n\n### **Cache-busting status** | Last Issue created at: `2025-11-16 02:17:45 UTC`\n\n## 2. Nonce Query Parameter (image URL contains \"nonce\" query-parameter with random numerical value)\n\n### Usage\n\n\u003e [!tip]\n\u003e The image URL below contains a query parameter `nonce` with a random number value. Create an Issue in this repository and write the word \"nonce\" somewhere in the body. This will trigger a GitHub Action that changes the query parameter value to some other \"random\" number. This is used to test whether changing query parameters is sufficient to bust the cache and refresh the image content.\n\n\u003c!-- NONCE --\u003e\n```markdown\n[![test-github-cache-bust](https://github-readme-stats-plus-theta.vercel.app/api/pin?username=hesreallyhim\u0026repo=test-github-cache-bust\u0026show_issues=true\u0026nonce=000812)](https://github.com/hesreallyhim)\n```\n\n\n[![test-github-cache-bust](https://github-readme-stats-plus-theta.vercel.app/api/pin?username=hesreallyhim\u0026repo=test-github-cache-bust\u0026show_issues=true\u0026nonce=000812)](https://github.com/hesreallyhim)\n\n### **Cache-busting status** | Current nonce: `nonce=000812` | Last updated: `2025-11-16 02:17:45 UTC`\n\u003c!-- NONCE-END --\u003e\n\n---\n\n[^1]: Nowadays, an \"image with dynamic content\" is usuaully known as a \"movie\" (or, if you haven't heard of that, it's sort of like a \"TikTok\" but not as hilarious)... that's not really what I meant though - I should have said something like \"an image that's fetched from a URL that points to a server that changes the contents of the image that being served dynamically.\" As you can probably tell, I've read many many long books (or, if you haven't heard of that, it's sort of like a \"post\" but not as profound).\n\n---\n\nThanks to [anuraghazra](https://github.com/anuraghazra/github-readme-stats/), a pioneer of README-engineering, and maintainer of [`github-readme-stats`](https://github.com/anuraghazra/github-readme-stats/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhesreallyhim%2Fgithub-image-cache-bust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhesreallyhim%2Fgithub-image-cache-bust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhesreallyhim%2Fgithub-image-cache-bust/lists"}