GoogleChrome / GoogleChrome/lighthouse

uses-long-cache is too strict

Open
#11,380 5 comments 1 reaction 0 assignees View on GitHub
needs-investigation P3
Dominant language
JavaScript
Stars
30.8k
Forks
9.8k
Avg merge
1d 20h
Merged PRs (30d)
19

Description

The audit `uses-long-cache` is too restrictive as it basically requires a cache set to a value larger than 96.5 days to pass.

See https://github.com/GoogleChrome/lighthouse/blob/master/lighthouse-core/audits/byte-efficiency/uses-long-cache-ttl.js#L35

If instead the threshold was decreased to >= 90%. Then an asset cached for a week would be ok.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.