measured the LIVE site with Lighthouse (best-practices 100, seo 100, agentic-browsing 100; a11y 98, perf 86) and fixed two real flags: - heading-order: the footer column labels were <h5> following an <h3> (skipping h4) — changed to <h4> so the page heading order is sequential; a11y 98 -> 100 - caching: every static asset was served with no cache lifetime (0s). added nginx cache locations on the amerc.ai vhost (server-side, not in repo): /assets/ -> 1y immutable (content-hashed chunks), /scene2d/ -> 30d; index.html stays uncached so it always points at the latest assets. repeat visitors now serve JS/CSS/images from cache. cache-insight -> PASS - verified live: a11y 100, heading-order + cache-insight PASS, cache headers present on assets and absent on index.html
19 lines
384 B
JSON
19 lines
384 B
JSON
{
|
|
"name": "amerc-site",
|
|
"version": "0.84.0-quality",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --host 0.0.0.0",
|
|
"build": "vite build",
|
|
"preview": "vite preview --host 0.0.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@vitejs/plugin-react": "^5.0.0",
|
|
"marked": "^14.1.4",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"vite": "^7.0.0"
|
|
}
|
|
}
|