build(deps): bump dependabot/fetch-metadata from 2.4.0 to 3.1.0#82
Open
dependabot[bot] wants to merge 1 commit into
Open
build(deps): bump dependabot/fetch-metadata from 2.4.0 to 3.1.0#82dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 2.4.0 to 3.1.0. - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](dependabot/fetch-metadata@08eff52...25dd0e3) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-version: 3.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Contributor
🔬 Performance benchmarkHome (
|
| Métrica | PR | Main (baseline) | Δ |
|---|---|---|---|
| Performance (score) | 92 | 74 | 🟢 18pp (24.3%) |
| FCP | 1293 ms | 2219 ms | 🟢 -926 ms (-41.7%) |
| LCP | 1413 ms | 2219 ms | 🟢 -806 ms (-36.3%) |
| TBT | 36 ms | 0 ms | 🔴 +36 ms |
| CLS | 0.000 | 0.000 | (=) |
| Speed Index | 1293 ms | 2817 ms | 🟢 -1524 ms (-54.1%) |
| TTI | 1413 ms | 2219 ms | 🟢 -806 ms (-36.3%) |
💡 Recomendações (Lighthouse + dicas Flarum 2 / Marketplace)
- Sem compressão de texto — economia ~600 ms · ~737 KB
Habilite gzip/brotli no servidor (nginx:gzip on; gzip_types text/css application/javascript;oubrotli on; brotli_types ...). Esse é um setting de host, não da extensão, mas reportar aqui ajuda. - JavaScript não utilizado — economia ~360 ms · ~462 KB
Useimport()dinâmico para componentes só usados em rotas específicas (RequestVerificationModal, TiersEditor). O webpack faz split automático se você usarimport("./components/RequestVerificationModal")dentro doroutesao invés de import estático no topo doindex.tsx. - CSS não utilizado — economia ~200 ms · ~226 KB
O bundleforum.csscarrega tudo deless/forum/**. Divida por rota (Home/Perfil) viaExtend\Frontend->css()condicional no JS, ou use PurgeCSS no webpack para o build de produção. - Recursos bloqueando o render — economia ~120 ms
Mova CSS não-crítico para<link rel="preload">ou injete inline o CSS above-the-fold doforum.less. Em Flarum 2, oforum.cssé servido como bloqueante por padrão — consideremedia="print" onloadpara folhas não-críticas (ex.: estilos só do painel admin da extensão). - Cache HTTP curto — 5 resources found
Os assets versionados em/assets/forum-<hash>.jsdeveriam terCache-Control: public, max-age=31536000, immutable. Configure no nginx/apache, não no Flarum.
/all
| Métrica | PR | Main (baseline) | Δ |
|---|---|---|---|
| Performance (score) | 95 | 95 | (=) |
| FCP | 1089 ms | 1091 ms | 🟢 -1 ms (-0.1%) |
| LCP | 1263 ms | 1265 ms | 🟢 -1 ms (-0.1%) |
| TBT | 0 ms | 0 ms | (=) |
| CLS | 0.000 | 0.000 | (=) |
| Speed Index | 1089 ms | 1091 ms | 🟢 -1 ms (-0.1%) |
| TTI | 1264 ms | 1265 ms | 🟢 -1 ms (-0.1%) |
💡 Recomendações (Lighthouse + dicas Flarum 2 / Marketplace)
- Sem compressão de texto — economia ~560 ms · ~737 KB
Habilite gzip/brotli no servidor (nginx:gzip on; gzip_types text/css application/javascript;oubrotli on; brotli_types ...). Esse é um setting de host, não da extensão, mas reportar aqui ajuda. - JavaScript não utilizado — economia ~360 ms · ~461 KB
Useimport()dinâmico para componentes só usados em rotas específicas (RequestVerificationModal, TiersEditor). O webpack faz split automático se você usarimport("./components/RequestVerificationModal")dentro doroutesao invés de import estático no topo doindex.tsx. - Recursos bloqueando o render — economia ~240 ms
Mova CSS não-crítico para<link rel="preload">ou injete inline o CSS above-the-fold doforum.less. Em Flarum 2, oforum.cssé servido como bloqueante por padrão — consideremedia="print" onloadpara folhas não-críticas (ex.: estilos só do painel admin da extensão). - CSS não utilizado — economia ~160 ms · ~226 KB
O bundleforum.csscarrega tudo deless/forum/**. Divida por rota (Home/Perfil) viaExtend\Frontend->css()condicional no JS, ou use PurgeCSS no webpack para o build de produção. - Cache HTTP curto — 5 resources found
Os assets versionados em/assets/forum-<hash>.jsdeveriam terCache-Control: public, max-age=31536000, immutable. Configure no nginx/apache, não no Flarum.
/u/admin
| Métrica | PR | Main (baseline) | Δ |
|---|---|---|---|
| Performance (score) | 94 | 93 | 🟢 1pp (1.1%) |
| FCP | 1094 ms | 1121 ms | 🟢 -27 ms (-2.4%) |
| LCP | 1370 ms | 1448 ms | 🟢 -78 ms (-5.4%) |
| TBT | 0 ms | 29 ms | 🟢 -29 ms (-100.0%) |
| CLS | 0.002 | 0.002 | (=) |
| Speed Index | 1094 ms | 1121 ms | 🟢 -27 ms (-2.4%) |
| TTI | 1370 ms | 1448 ms | 🟢 -78 ms (-5.4%) |
💡 Recomendações (Lighthouse + dicas Flarum 2 / Marketplace)
- Sem compressão de texto — economia ~600 ms · ~738 KB
Habilite gzip/brotli no servidor (nginx:gzip on; gzip_types text/css application/javascript;oubrotli on; brotli_types ...). Esse é um setting de host, não da extensão, mas reportar aqui ajuda. - JavaScript não utilizado — economia ~360 ms · ~431 KB
Useimport()dinâmico para componentes só usados em rotas específicas (RequestVerificationModal, TiersEditor). O webpack faz split automático se você usarimport("./components/RequestVerificationModal")dentro doroutesao invés de import estático no topo doindex.tsx. - Recursos bloqueando o render — economia ~240 ms
Mova CSS não-crítico para<link rel="preload">ou injete inline o CSS above-the-fold doforum.less. Em Flarum 2, oforum.cssé servido como bloqueante por padrão — consideremedia="print" onloadpara folhas não-críticas (ex.: estilos só do painel admin da extensão). - CSS não utilizado — economia ~200 ms · ~225 KB
O bundleforum.csscarrega tudo deless/forum/**. Divida por rota (Home/Perfil) viaExtend\Frontend->css()condicional no JS, ou use PurgeCSS no webpack para o build de produção. - Cache HTTP curto — 5 resources found
Os assets versionados em/assets/forum-<hash>.jsdeveriam terCache-Control: public, max-age=31536000, immutable. Configure no nginx/apache, não no Flarum.
🛒 Dicas gerais para acelerar a loja (Flarum 2 + Verified)
- Build de produção minificado — confirme que
npm run buildrodou commode: production(já é o caso nojs/package.json). Webpack tree-shakesimport { x } from "flarum/..."se o consumo for explícito. - Split por rota —
index.tsximporta todos os Components no topo. Trocar paraimport()dinâmico nas rotas raramente acessadas (RequestVerificationModal, TiersEditor) reduz oforum.jsinicial. - Less crítico inline — Flarum 2 serve
forum.cssbloqueando. Considere extrair o CSS above-the-fold (header + 1ª linha de ProductCards) e injetar inline viaExtend\Frontend->content(InlineCriticalCss::class). - Imagens de produto — sirva via
<img loading="lazy">em todos os ProductCards que não estiverem no fold inicial, e gere WebP no upload. <link rel="preconnect">— carregue o Stripe.js (js.stripe.com) só na rota de checkout e adicione preconnect lá; se usa CDN para fontes ou imagens S3, adicione preconnects no header.Extend\Frontend->js()rodam síncronos — todo arquivojs/dist/forum.jsé parseado no boot. Cadaextend()noindex.tsxroda antes da primeira pintura.- opcache + view cache — no host:
opcache.enable=1,opcache.validate_timestamps=0em produção, ephp flarum cache:clearno deploy. - HTTP/2 + Brotli no host — o Flarum gera bundles grandes; sem brotli você paga em transferência.
Lighthouse desktop, 1 run por URL. 🟢 = melhorou vs main · 🔴 = regrediu.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps dependabot/fetch-metadata from 2.4.0 to 3.1.0.
Release notes
Sourced from dependabot/fetch-metadata's releases.
... (truncated)
Commits
25dd0e3v3.1.0 (#692)e073f50Merge pull request #705 from dependabot/dependabot/npm_and_yarn/hono-4.12.140670e16build(deps-dev): bump hono from 4.12.12 to 4.12.147a7fe10Merge pull request #702 from dependabot/dependabot/npm_and_yarn/dependencies-...5168191Updating dist build23882e1build(deps): bump@actions/githubin the dependencies group1072469Merge pull request #701 from dependabot/dependabot/github_actions/actions/cre...43f8a00build(deps): bump actions/create-github-app-token from 3.0.0 to 3.1.1b4d904aMerge pull request #703 from dependabot/dependabot/npm_and_yarn/globals-17.5.0c8046bbbuild(deps-dev): bump globals from 17.4.0 to 17.5.0Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)