You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf: skip body parsing for GET and HEAD BFF requests and reuse per-route param names by @deepcoldy in #9004
perf: skip importing html-minifier-terser when HTML minification is disabled, such as in development by @deepcoldy in #9005
perf: reuse the static handler of data loader requests and match the entry without sorting the server routes on every request by @deepcoldy in #9011
perf: load ndepe lazily in deploy presets so CLI startup no longer pays for it on every command by @deepcoldy in #9003
perf: calculate the size of Buffer and string values in the memory cache without JSON.stringify, binary files are now counted by their real size, so the default 256 MB cache can hold up to 256 MB of them instead of about 71 MB by @deepcoldy in #9013
perf: skip parsing nested route data files that cannot export action when generating routes by @deepcoldy in #9008
perf: collect public folder routes in linear time without a stat call per file by @deepcoldy in #9007
perf: write Node.js response bodies with a stream reader loop instead of pipeTo(Writable.toWeb(res)), sendResponse now resolves once res.end() is called by @deepcoldy in #9014
perf: trim per-request work in the render path and set Server-Timing with a single header update by @deepcoldy in #9015
perf: cache the inlined css and js assets read during SSR instead of reading them on every request by @deepcoldy in #9010
perf: create the public middleware once without sorting the shared routes on every request, and stat static files only once per request by @deepcoldy in #9006
perf: search only newly streamed text for the shell end marker in streaming SSR instead of re-decoding and re-scanning the whole buffered shell for every chunk by @deepcoldy in #9012
perf: skip HTML tokenizing of streaming SSR output when no deferred resolver script can be inserted, and skip the end tag search inside inline script and style text until a < shows up by @deepcoldy in #9016
perf: apply the template replacements before inserting the app html in string SSR by @deepcoldy in #9009
Bug Fixes 🐞
fix: preserve literal characters when registering page render routes with Hono by @GiveMe-A-Name in #8998
fix(app-tools): scope streaming HTML script rewriting to each entry so CSR and string SSR pages retain their script order and injection settings in mixed applications. by @byte-lyh in #9033
更新内容
性能优化 ⚡
perf: BFF 的 GET 和 HEAD 请求跳过请求体解析,并复用每个路由的参数名 由 @deepcoldy 实现, 详情可查看 #9004
perf: 在 HTML 压缩未启用时(例如开发模式)跳过加载 html-minifier-terser 由 @deepcoldy 实现, 详情可查看 #9005