GoogleChrome / GoogleChrome/lighthouse

"Uses inefficient cache policy on static assets" rule should group by path

Open
#5,671 4 comments 0 reactions 0 assignees View on GitHub
feature P2 report
Dominant language
JavaScript
Stars
30.8k
Forks
9.8k
Avg merge
1d 20h
Merged PRs (30d)
19

Description

The current "Uses inefficient cache policy on static assets" list is not very actionable (excerpt of [an actual audit](https://builder-dot-lighthouse-ci.appspot.com/report.1531735495838.html)):

![screen shot 2018-07-16 at 12 09 44](https://user-images.githubusercontent.com/145676/42753428-34ad1aae-88f1-11e8-966d-5d38ebbd27b8.png)

Can Lighthouse try to group them by *origin* and *path*?
- Oftentimes *per-origin* grouping already allows users to see if they *can't* change things (true third-party like securepubads.g.doubleclick.net) or if they in fact can do something about it (sharded third-party like cdn.example.com).
- Based on that, *per-path* grouping then reveals common patterns (like cdn.example.com/assets has 30 days vs. cdn.example.com/static/icons has 24h).

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.