Skip to content
Discussion options

You must be logged in to vote

I figured out a solution by reverse engineering the badges this guy built: https://github.com/antonkomarev

I added this to my nginx config to set these specific headers:

add_header Cache-Control "max-age=0, no-cache, no-store, must-revalidate";

for some reason, no-cache doesn't work on it's own, perhaps I understand it wrong.

screenshot of it working on my profile:

now it will update on each page refresh, at least for me. How will it handle high traffic? not sure 😊

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies

This comment was marked as off-topic.

@queenofcorgis
Comment options

Comment options

You must be logged in to vote
1 reply
@OoLunar
Comment options

Answer selected by OoLunar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
General General topics and discussions that don't fit into other categories, but are related to GitHub Question Ask and answer questions about GitHub features and usage
4 participants