cache some badges for longer (#9785)

This commit is contained in:
chris48s
2023-12-06 18:42:06 +00:00
committed by GitHub
parent 45bb786147
commit 57820b2eb9
6 changed files with 7 additions and 5 deletions

View File

@@ -65,6 +65,8 @@ export default class Bundlephobia extends BaseJsonService {
},
]
static _cacheLength = 900
static defaultBadgeData = { label: 'bundlephobia', color: 'informational' }
static render({ format, size }) {