微信内可能无法直接打开本站。请点右上角 ··· → 在浏览器打开,或复制链接。
Stuart Clark (Deciphered): Druxt 0.25.0; caching and performance buffs
RSS 官方收录 · 可信分层展示
关键摘要
Druxt is the Fully Decoupled Drupal framework for Nuxt 2, and 0.25.0, the first Druxt release since 2023, makes it ask Drupal a lot less.…
- org, the Druxt docs site, a page render made 17 requests to Drupal.
- 0 it makes 11, and with content caching on it makes none, until Drupal…
- The Nuxt server keeps what Drupal sends for as long as Drupal's Cache-…
规则摘要 · 来源可核验
正文提要
Druxt is the Fully Decoupled Drupal framework for Nuxt 2, and 0.25.0, the first Druxt release since 2023, makes it ask Drupal a lot less.
On druxtjs.org, the Druxt docs site, a page render made 17 requests to Drupal. On 0.25.0 it makes 11, and with content caching on it makes none, until Drupal's lifetime for the page runs out. The Nuxt server keeps what Drupal sends for as long as Drupal's Cache-Control allows, and a webhook clears it when content changes.
Separately, the first-load flicker is gone, and with schema.refresh on, a change in Drupal's Manage display shows up without a rebuild, which is the part I have wanted for years. The upgrade command is near the end.