This commit is contained in:
oliver
2026-08-28 10:11:11 -03:00
parent f533ff8e36
commit 585951c8ce
1380 changed files with 1540268 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
GOAL - W10 Performance / Core Web Vitals (odoo-expertos). Branch: fix/w10-perf.
Repo: C:\Users\eugen\.cursor\projects\Odoo Expertos\odoo-expertos. Work ONLY in this repo.
Context: FULL-AUDIT-REPORT.md (Part A sec 5). Homepage has ~33KB inline CSS (should be <14KB); D3 is loaded from the d3js.org CDN at runtime (should be self-hosted); all assets serve Cache-Control: max-age=0.
TASK: (1) Move non-critical CSS out of index.html's inline <style> into css/main.min.css so the inline style is under 14KB (keep only true above-the-fold critical CSS inline). (2) Download d3 v7 minified to js/d3.v7.min.js and reference it locally instead of https://d3js.org; remove the misplaced d3js.org preconnect on pages that do not use D3. (3) In vercel.json add a headers rule giving Cache-Control: public, max-age=31536000, immutable to /css, /js, /components assets.
CONSTRAINTS: do not change visible layout; keep the homepage rendering identical.
PROVE each turn: run powershell -File seo-audit-2026-05-27\REVIEW.ps1 -Only W10 and paste the full output.
DONE WHEN: the output contains "W10: PASS" (inline CSS <14336 bytes AND self-hosted D3 exists AND immutable cache header present), AND you committed on branch fix/w10-perf (show git log -1 --oneline). Stop after 20 turns if blocked and report the FAIL detail.