IssueRaiser

Web: Cache-able code splitting, Tree Shaking and Routes grouping

Currently Flutter for web build command generates a big single Javascript file in release mode. It is proposed that new routing APIs should allow groping of related routes and then the build command should generate separate Javascript files for each group of routes these files can than be pre-fetched separately. This will help to improve Time to Interactive TTI score and defer or remove unnecessary JavaScript work that occurs during initial page load.

Posted by ansarizafar on Feb 5, 2020, 3:52 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,500 issues0 comments

github (Other)

Web: Cache-able code splitting, Tree Shaking and Routes grouping

ansarizafarFeb 5, 2020, 3:52 PM

Currently Flutter for web build command generates a big single Javascript file in release mode. It is proposed that new routing APIs should allow groping of related routes and then the build command should generate separate Javascript files for each group of routes these files can than be pre-fetched separately. This will help to improve Time to Interactive TTI score and defer or remove unnecessary JavaScript work that occurs during initial page load.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue