Comments (5)
You can now add &cache=0
in card's query string to disable the cache.
See #30
from leetcode-stats-card.
I see no difference between the two images.
Both of them are showing 340 for now.
I know GitHub caches all of the images appear in README (including personal profile). But the caching strategy is unknown.
The cache time of the image is set to 1 minute, but I think it is a proper value. I don't know if I should disable that.
from leetcode-stats-card.
Sometimes it does not refresh for days
I will do a leetcode question sometime in the next few days and report back
How does badges not get cached?
from leetcode-stats-card.
I think if I add Cache-Control: max-age=0, no-cache
to the response header, then GitHub won't cache it, maybe.
from leetcode-stats-card.
Ok look, I have just done a question, it should say 341 (still says 340 at this current time)
from leetcode-stats-card.
Related Issues (20)
- Both Heatmap and Contest HOT 1
- Custom Theme HOT 3
- Responsiveness of Stats
- Ranking is incorrect. HOT 2
- Default Leetcode card not working HOT 2
- Broken fonts HOT 1
- Request: Heatmap
- Error: Cannot read properties of null HOT 1
- site=cn flag no longer working HOT 2
- contest option for cn source HOT 3
- [feature request] add heatmap HOT 3
- Can't render when it comes to leetcode.cn HOT 5
- Clicking upon user name redirects to wrong URL HOT 1
- service is totally down for leetcode.cn HOT 2
- Add profile badge HOT 2
- Custom option to use our own theme HOT 2
- Not Responsive
- Center the stats box HOT 2
- Is LeetCard down? HOT 1
- Incorrect results HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leetcode-stats-card.