Cannot load page after too much changes
Opened this issue · 1 comments
mjablecnik commented
Description
When I am changing pages in default Jaspr template too fast so page loading is too long.
Steps To Reproduce
Screen.Recording.2024-05-18.at.21.mp4
Doctor Output
martin at Martins-MacBook-Air jaspr_project >>> jaspr doctor
[✓] Jaspr CLI (Version 0.12.0)
• Dart Version 3.4.0 (stable) (Mon May 6 07:59:58 2024 -0700) on "macos_arm64" at /Users/martin/fvm/versions/3.22.0/bin/cache/dart-sdk/bin/dart
• Running on macos Version 14.1 (Build 23B74) - Locale en-CZ
• Analytics: Enabled
[✓] Current Project
• Dependencies on core packages:
• jaspr: ^0.12.0
• jaspr_builder: ^0.12.0 (dev)
• jaspr_web_compilers: ^4.0.9 (dev)
• jaspr_router: ^0.4.1
• Rendering mode: server
• Uses jaspr compilers: true
• Uses flutter embedding: false
Expected Behavior
Change pages without long loading.
Additional Context
Here are steps of project creation:
schultek commented
I could trace it to some weird behaviour of shelf when piping through the sse connection to the build_web_compilers server. I don't know how to fix it though.
However this only happens during development and not production.