-
Hello! This is weird and not even sure how to ask but I'm noticing that Total Commits count is not being updated then on Github but when I clone the repo it's being shown properly. What could be the reason? This is what is shown when cloning the repo and running it locally: This is what is shown on my GH profile (check here https://github.com/quetool) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey, @quetool! I assume that your problem related to caching, currently stats card in your profile shows updated info. Stats card update time depends from |
Beta Was this translation helpful? Give feedback.
-
Hello @qwerty541! Thanks for your answer! I know all of that, I opened this discussion indeed because the data displayed on my GH profile wasn't being updated since weeks. I have resolved now by pushing an empty README file to my repo and then pushing again the code. That solved it, now the amounts are correct so for sure something related to cache but neither using my own Vercel instance was solving my issue. Feel free to close this convo! Thanks! |
Beta Was this translation helpful? Give feedback.
Hey, @quetool! I assume that your problem related to caching, currently stats card in your profile shows updated info. Stats card update time depends from
cache_seconds
query option. By default it was set to 21600 seconds ( 6 hours ). You can set custom value from 21600 to 86400 seconds. See: https://github.com/anuraghazra/github-readme-stats#common-options. You are also able to deploy your own Vercel instance and set CACHE_SECONDS environment variable, this makes it possible to set a cache seconds without upper and lower level restrictions.