Skip to content

Add a way to manually clear cached badge responses #11877

@dohyeon5626

Description

@dohyeon5626

📋 Description

GitHub-related badges return an error response when a repository is private because the repository is not publicly accessible, which is expected behavior.

Image

However, after making the repository public, the badge can continue showing the previous error message for some time because the error response is still cached.

Although the badge URL becomes valid immediately after the visibility change, it can still appear broken until the cache expires naturally.
GitHub’s Camo cache can be purged manually, but Shields’ own cache still keeps the old error response.

It would be helpful to have a way to manually clear the cached response for a specific badge URL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions