Coder Social home page Coder Social logo

Comments (3)

ryo-ma avatar ryo-ma commented on May 5, 2024

I don't understand the problem. Can you explain a little more concretely?

from github-profile-trophy.

gabrielconlon avatar gabrielconlon commented on May 5, 2024

Screen Shot 2021-08-30 at 9 00 19 AM
This may honestly be on GitHub's end, but there seams to be an issue that certain themes are not updating or it is taking a very long time (hours to days). For instance, up above I had the darker theme on my RREADME.md and noticed the total repositories and commit's numbers did not match my GitHub stats. but with the default light theme, the numbers updated.

This was both embedded in the README.md and again in a separate browser window. I am having the same issue with anuraghazra's readme-stats repository GitHub-README-stats as well now, which leads me to wonder I this is just lag on GitHub's end.

Sorry for the confusion

EDIT: added screenshot to see the discrepancy with GitHub-stats
I've tried adding a second trophy block with theme applied to see if I can reproduce the issue as above. I'll capture the code this time as well if I catch it

from github-profile-trophy.

ryo-ma avatar ryo-ma commented on May 5, 2024

I think it's probably a cache issue. When the theme changes, the URL changes, so the cache also changes.

Currently, the cache max-age is set to 2 hours.

"Cache-Control": `public, max-age=${CONSTANTS.CACHE_MAX_AGE}`,

About cache:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control

from github-profile-trophy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.