relative-ci / bundle-stats

Analyze bundle stats(bundle size, assets, modules, packages) and compare the results between different builds. Support for webpack, rspack, rollup and vite.
MIT License
572 stars 20 forks source link

UI: Filters - make the URL encoded value smaller #4025

Open vio opened 1 year ago

vio commented 1 year ago

Problem

When generating the URL for dynamic filters (e.g. chunks), the size of the encoded URL can be larger than the browser's limit. For example, on a project with > 600 chunks, Safari fails to load when the chunk filters are available in the URL, though Chrome and Firefox are working as expected: Example

Solution

Use a compressed method to store the filter values in the URL

rel: https://github.com/relative-ci/bundle-stats/issues/3946

github-actions[bot] commented 4 months ago

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 90 days with no activity.