3.6 KiB
3.6 KiB
PageSpeed priority list
Source reviewed:
- PageSpeed Insights desktop report for
https://mnq.elkazurrotaberna.es/ - Existing audit artifact:
Google-SEO-Report-mnq.elkazurrotaberna.es-full.pdf
Scores
- Performance: 80
- Accessibility: 96
- Best Practices: 100
- SEO: 100
Fix first
1. Remove or reduce render-blocking font requests
Files
src/layouts/MainLayout.astro
Change
- Reduce Google Fonts weights/families.
- Replace Material Symbols webfont with inline/local SVGs if possible.
- Keep
preconnectonly if those remote font requests remain. - Re-evaluate the global body fade if it delays perceived first paint.
Why
- Lighthouse reports render-blocking requests with ~1380 ms potential savings.
2. Add explicit image dimensions and tighten image delivery
Files
src/pages/index.astrosrc/pages/bodas-reales.astrosrc/pages/corporativo-business.astro- Review also:
src/pages/contacto.astro,src/pages/nosotros.astro,src/pages/reuniones-familiares.astro
Change
- Add
widthandheightto page images. - Verify above-the-fold images are not larger than their rendered size.
- Keep optimized formats consistent.
- Do not rely on CSS sizing alone for layout stability.
Why
- Lighthouse reports ~1423 KiB image savings.
- It also flags missing explicit image dimensions.
3. Shrink heavy assets in public/images/
Files / folders
public/images/public/images/generated/
Change
- Replace or recompress large
.pngassets where a lighter format is acceptable. - Prefer existing
.webpvariants where possible. - Remove unused duplicates.
- Audit especially the heavier files such as
foto-corporativo.png,foto-bodas.png,foto-canapes.png,foto-plato-mnq.png, and oversized logo assets.
Why
- The current image payload is a major part of the desktop performance loss.
4. Fix footer contrast
Files
src/components/SiteFooter.astrosrc/styles/components.css
Change
- Increase footer text contrast.
- Reduce or remove low-opacity muted text in the footer.
- Review
.footer-bottom p,.footer-brand p, and anytext-muted+opacitycombinations.
Why
- Lighthouse flags footer contrast issues.
5. Make WhatsApp links use the same accessible purpose
Files
src/components/SiteHeader.astrosrc/components/SiteFooter.astro
Change
- Ensure identical WhatsApp destinations use a consistent accessible label.
- If visible text differs by context, normalize it with
aria-label.
Why
- Lighthouse flags identical links with mismatched purpose/description.
6. Replace progress bar width animation with transform animation
Files
src/styles/animations.css- related update logic in
src/layouts/MainLayout.astro
Change
- Stop animating
widthon.scroll-progress. - Use
transform: scaleX(...)withtransform-origin: leftinstead.
Why
- Lighthouse flags non-composited animations.
7. Trim unused CSS
Files
src/styles/components.csssrc/styles/utilities.csssrc/styles/animations.csssrc/styles/layout.css
Change
- Remove unused helpers, stale animations, and dead selectors.
Why
- Lighthouse reports unused CSS, but this is lower priority than fonts and images.
Recommended implementation order
src/layouts/MainLayout.astro- image dimensions in page files
- asset optimization in
public/images/ - footer contrast
- WhatsApp link labeling
- scroll progress animation
- CSS cleanup
Validation after each batch
npm run checknpm run build- Re-run desktop PageSpeed