You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As doc said,we can use https://flat.badgen.net/.....?cache=300 to control cache time. But this option is no longer work.
From reponse header,I find the cache-control don't use the value set in 'cache' option:
As doc said,we can use
https://flat.badgen.net/.....?cache=300
to control cache time. But this option is no longer work.From reponse header,I find the cache-control don't use the value set in 'cache' option:
Cache-Control should be
max-age=300
notmax-age=86400
because I set '300' in cache option.It will result the badgen which used in github and cache by github not update as expected, because github determines whether to update its image cache via Cache-Control.
ref: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-anonymized-urls#an-image-that-changed-recently-is-not-updating
The text was updated successfully, but these errors were encountered: