Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Deep analyze of Cache Invalidation #312

Open
Amorites opened this issue Feb 16, 2023 · 0 comments
Open

[Feature Request] Deep analyze of Cache Invalidation #312

Amorites opened this issue Feb 16, 2023 · 0 comments
Labels
enhancement New feature or request further discussion

Comments

@Amorites
Copy link

Deep analyze of Cache Invalidation

Motivation

Perfsee can now calculate 'cache invalidation' from manifest info, but doesn't know whether the invalidation is as expected or not. And no help in troubleshooting if it does not match expectations‖.

The problem is detailed in https://webpack.js.org/concepts/manifest/#the-problem.

Detailed design

  1. webpack/rollup/vite plugin upload all js assets to perfsee server at build time. (May need a S3 to store the assets).
  2. Compare file content between disappearing files and new files.

Demo:

image

image

image

Alternatives

Analyze content diff locally: checkout - build - compare.

@forehalo forehalo added enhancement New feature or request further discussion labels Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request further discussion
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants