Skip to content

Empty wakatime card #1793

Answered by NChechulin
Grayson-code asked this question in Q&A
May 21, 2022 · 4 comments · 2 replies
Discussion options

You must be logged in to vote

No, this is not wakatime bug, apparently.
Github Caches images (you can hover on it and the tooltip will show that the image is actually located on Github servers).

After some research, I found that Github respects the cache-control HTTP header. Therefore, the solution could be to include a Cache-Control: no-cache header on the server side.

Currently it's set to cache-control: public, max-age=14400(which is 4 hours).

So it's not really a bug, it's a delay of <= 4 hours.

I suppose deciding on cache policy is up to the project owner/contributors.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by rickstaa
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@rickstaa
Comment options

@Grayson-code
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working.
3 participants
Converted from issue

This discussion was converted from issue #1779 on May 28, 2022 10:50.