Skip to content
https://barcelona.cat

Lighthouse Desktop

· 0 checks — Desktop Lighthouse audit -- Performance, Accessibility, Best Practices, and SEO category breakdown.
SCORE
0
GRADE
FIX
0
REVIEW
0
PASS
0
INFO
0

Detailed Report

Audit breakdown by category with detailed findings.

75

Performance

Insights

Remove large, duplicate JavaScript modules from bundles to reduce unnecessary bytes consumed by network activity.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Polyfills and transforms enable older browsers to use new JavaScript features. However, many aren't necessary for modern browsers. Consider modifying your JavaScript build process to not transpile Baseline features, unless you know you must support older browsers. Learn why most sites can deploy ES6+ code without transpiling

Why this matters

Performance issues directly impact user engagement and conversion rates.

3rd party code can significantly impact load performance. Reduce and defer loading of 3rd party code to prioritize your page's content.

Why this matters

Performance issues directly impact user engagement and conversion rates.

A long cache lifetime can speed up repeat visits to your page. Learn more about caching.

Why this matters

Performance issues directly impact user engagement and conversion rates.

RequestCache TTLTransfer Size
com-shi-va.barcelona.cat/assets/index-97beb0ec.js0.0 ms533.3 KiB
www.barcelona.cat/estatics/geobcn/1.2/api-full-ca.js0.0 ms241.2 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/lib/openlayers/ol-6.15.1.js0.0 ms238.0 KiB
com-shi-va.barcelona.cat/images/widget-metro.jpg0.0 ms229.8 KiB
/wp-content/uploads/2026/04/09140356/InformeLlibreries-Fo...300.0 s177.3 KiB
/maps/api/js?key=AIzaSyA1hYiZ1NN9YNkxQPWfVHYhI7hmS1JLlLI&...1800.0 s182.0 KiB
releases.jquery.com/git/ui/jquery-ui-git.js300.0 s123.8 KiB
www.barcelona.cat/estatics-planol/v1.2/library/jquery-ui-1.10.4.js0.0 ms106.6 KiB
media-edg.barcelona.cat/wp-content/uploads/2026/04/22142006/IMG_1793-570x321.jpg300.0 s96.2 KiB
estatics-nasia.dtibcn.cat/nasia-pro/media/film_fest.570x321.95a61c4a.jpg300.0 s69.0 KiB
ajuntament.barcelona.cat/widgets/temps/v3/js/jquery-ui.min.js0.0 ms62.6 KiB
com-shi-va.barcelona.cat/assets/index-62bfe776.css0.0 ms60.7 KiB
img.youtube.com/vi/Q0mEbVO3pYc/maxresdefault.jpg7200.0 s80.9 KiB
www.barcelona.cat/assetsdi/icoajuntament-v2/fonts/icoajuntament-v2.ttf?4n8bjk28800.0 s91.2 KiB
estatics-nasia.dtibcn.cat/nasia-pro/media/Mishima.570x321.73f42630.jpg300.0 s55.9 KiB
/wp-content/uploads/2024/08/14102852/20191029_VisitaSaier...300.0 s53.6 KiB
/wp-content/uploads/2026/04/07142055/250423_AF_AmbientDia...300.0 s45.6 KiB
www.barcelona.cat/estatics-planol/v1.2/library/jquery.min.js0.0 ms35.0 KiB
ajuntament.barcelona.cat/widgets/temps/v3/js/jquery-1.11.2.min.js0.0 ms32.9 KiB
ajuntament.barcelona.cat/widgets/qualitat-aire/v2/js/lib/jquery.min.js0.0 ms32.9 KiB
www.barcelona.cat/assetsdi/icoajuntament/fonts/icoajuntament.ttf?8aaig728800.0 s53.8 KiB
www.barcelona.cat/assets/core/javascripts/core.js900.0 s22.7 KiB
www.barcelona.cat/estatics-planol/v1.2/library/handlebars.min.js0.0 ms20.0 KiB
www.barcelona.cat/estatics-planol/v1.2/widget/js/min.js0.0 ms14.7 KiB
www.barcelona.cat/assets/core/stylesheets/core.css900.0 s13.6 KiB
www.barcelona.cat/estatics-planol/v1.2/widget/css/styles.css0.0 ms10.7 KiB
cdn.matomo.cloud/dadesbcn.matomo.cloud/container_beOBY9ep.js691200.0 s74.8 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/style/jsapi.css0.0 ms7.0 KiB
/estatics/geobcn/1.2/js/lib/jquery/ui-1.10.4/themes/barce...0.0 ms6.4 KiB
www.barcelona.cat/assetsdi/img/2025/logo-negre.svg180.0 s4.4 KiB
com-shi-va.barcelona.cat/assets/markerclusterer-d8cec618.js0.0 ms4.0 KiB
www.barcelona.cat/assets/images/brand/banner/2025/logo-ajbcn.svg900.0 s4.4 KiB
ajuntament.barcelona.cat/widgets/bcn-avisos/js/bcn-avisos.js180.0 s3.6 KiB
ajuntament.barcelona.cat/widgets/bcn-avisos/js/v1/bcn-avisos.js180.0 s3.4 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/img/mapa/sprites-general.png0.0 ms3.3 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-ajuntament.svg900.0 s3.4 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/img/mapa/marker.png0.0 ms3.0 KiB
ajuntament.barcelona.cat/widgets/qualitat-aire/v2/css/qualitat-aire.css0.0 ms2.9 KiB
www.barcelona.cat/estatics-planol/v1.2/fitxes/ca/templates.js0.0 ms2.9 KiB
www.barcelona.cat/assetsdi/icoajuntament-v2/bcn-icon.css28800.0 s4.6 KiB
www.barcelona.cat/estatics-planol/v1.2/widget/img/spriteWidget.png0.0 ms2.7 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/img/mapa/marker_fort.png0.0 ms2.3 KiB
com-shi-va.barcelona.cat/assets/DataLayer-3d311d43.js0.0 ms2.1 KiB
ajuntament.barcelona.cat/widgets/temps/v3/img/1.png0.0 ms2.1 KiB
www.barcelona.cat/assetsdi/icoajuntament/bcn-icon.css28800.0 s3.4 KiB
ajuntament.barcelona.cat/widgets/bcn-avisos/css/v1/bcn-avisos.css180.0 s2.1 KiB
ajuntament.barcelona.cat/widgets/temps/v3/css/styles.css0.0 ms2.0 KiB
ajuntament.barcelona.cat/widgets/bcn-avisos/css/bcn-avisos.css180.0 s1.9 KiB
ajuntament.barcelona.cat/widgets/temps/v3/js/detectmobilebrowser.js0.0 ms1.7 KiB
ajuntament.barcelona.cat/widgets/qualitat-aire/v2/js/qualitat-aire.js0.0 ms1.6 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/lib/openlayers/css/ol-6.15.1.css0.0 ms1.6 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/img/mapa/checks-pc.png0.0 ms1.6 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-tramits.svg900.0 s1.7 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/img/mapa/close-cloud.gif0.0 ms1.5 KiB
com-shi-va.barcelona.cat/images/points.png0.0 ms1.5 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-premsa.svg900.0 s1.5 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-difusio.svg900.0 s1.5 KiB
com-shi-va.barcelona.cat/images/icons/preferences-o.svg0.0 ms1.3 KiB
com-shi-va.barcelona.cat/images/icons/layers.svg0.0 ms1.3 KiB
com-shi-va.barcelona.cat/images/icons/change-direction.svg0.0 ms1.3 KiB
/estatics-planol/v1.2/img/iconesFuncionalitats/Enabled/ic...0.0 ms1.2 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-agenda.svg900.0 s1.4 KiB
com-shi-va.barcelona.cat/images/icons/apropmeu.svg0.0 ms1.2 KiB
com-shi-va.barcelona.cat/images/icons/zoom-in.svg0.0 ms1.2 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-iris.svg900.0 s1.3 KiB
com-shi-va.barcelona.cat/images/icons/recents.svg0.0 ms1.1 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-comshiva.svg900.0 s1.3 KiB
com-shi-va.barcelona.cat/images/icons/kebab.svg0.0 ms1.1 KiB
com-shi-va.barcelona.cat/images/icons/preferences.svg0.0 ms1.1 KiB
com-shi-va.barcelona.cat/images/icons/best-transport.svg0.0 ms1.1 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-planol.svg900.0 s1.2 KiB
com-shi-va.barcelona.cat/images/icons/walking.svg0.0 ms1.1 KiB
com-shi-va.barcelona.cat/images/icons/warning.svg0.0 ms1.1 KiB
ajuntament.barcelona.cat/widgets/qualitat-aire/v2/css/lameva.css0.0 ms1.0 KiB
com-shi-va.barcelona.cat/images/icons/marker.svg0.0 ms1.0 KiB
ajuntament.barcelona.cat/widgets/temps/v3/js/literals.js0.0 ms1.0 KiB
com-shi-va.barcelona.cat/images/icons/zoom-out.svg0.0 ms1.0 KiB
com-shi-va.barcelona.cat/images/icons/mapa.svg0.0 ms1.0 KiB
com-shi-va.barcelona.cat/images/icons/gps.svg0.0 ms1.0 KiB
com-shi-va.barcelona.cat/images/icons/paperera.svg0.0 ms1019 B
com-shi-va.barcelona.cat/assets/MapComponent-91936e9d.js0.0 ms964 B
com-shi-va.barcelona.cat/images/icons/public-transport.svg0.0 ms954 B
com-shi-va.barcelona.cat/images/arrow-help-2.svg0.0 ms926 B
com-shi-va.barcelona.cat/images/icons/include.svg0.0 ms911 B
com-shi-va.barcelona.cat/images/arrow-help-4.svg0.0 ms897 B
com-shi-va.barcelona.cat/images/arrow-help-1.svg0.0 ms885 B
com-shi-va.barcelona.cat/images/icons/comshiva.svg0.0 ms883 B
com-shi-va.barcelona.cat/images/arrow-help-3.svg0.0 ms877 B
com-shi-va.barcelona.cat/images/icons/bicycle.svg0.0 ms874 B
com-shi-va.barcelona.cat/images/icons/search.svg0.0 ms872 B
com-shi-va.barcelona.cat/images/icons/car.svg0.0 ms871 B
com-shi-va.barcelona.cat/images/icons/transit.svg0.0 ms825 B
com-shi-va.barcelona.cat/images/icons/liniesiparades.svg0.0 ms801 B
/widgets/qualitat-aire/v2/img/ico-fletxa-esquerra2-l-ligh...0.0 ms590 B
/widgets/qualitat-aire/v2/img/ico-fletxa-dreta2-l-light.svg0.0 ms587 B
/estatics-planol/v1.2/img/iconesFuncionalitats/Enabled/ic...0.0 ms552 B
/estatics-planol/v1.2/img/iconesFuncionalitats/Enabled/ic...0.0 ms533 B
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/img/mapa/dropdown.png0.0 ms487 B
/plugins/HeatmapSessionRecording/configs.php?idsite=19&tr...0.0 ms270 B
www.barcelona.cat/assets/core/stylesheets/core.css900.0 s0 B
www.barcelona.cat/assetsdi/icoajuntament/fonts/icoajuntament.ttf?8aaig728800.0 s0 B
www.barcelona.cat/assets/core/javascripts/core.js900.0 s0 B
www.barcelona.cat/assets/core/javascripts/core.js900.0 s0 B
www.barcelona.cat/assets/core/javascripts/core.js900.0 s0 B
www.barcelona.cat/assets/core/javascripts/core.js900.0 s0 B
www.barcelona.cat/assetsdi/icoajuntament/bcn-icon.css28800.0 s0 B
www.barcelona.cat/assetsdi/icoajuntament/bcn-icon.css28800.0 s0 B
ajuntament.barcelona.cat/widgets/bcn-avisos/js/v1/bcn-avisos.js180.0 s0 B
ajuntament.barcelona.cat/widgets/bcn-avisos/css/v1/bcn-avisos.css180.0 s0 B

Your first network request is the most important. Reduce its latency by avoiding redirects, ensuring a fast server response, and enabling text compression.

Why this matters

Performance issues directly impact user engagement and conversion rates.

A forced reflow occurs when JavaScript queries geometric properties (such as offsetWidth) after styles have been invalidated by a change to the DOM state. This can result in poor performance. Learn more about forced reflows and possible mitigations.

Why this matters

Performance issues directly impact user engagement and conversion rates.

headings: [map[key:source label:Top function call valueType:source-location] map[granularity:1 key:reflowTime label:Total reflow time valueType:ms]]
items: [map[reflowTime:52.994 source:map[column:156 line:10 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_F8_Nr0xrAI1C4QtaUsl4g0GAW841yxdUXMMi8F5R5y0.js?scope=footer&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]]]
headings: [map[key:source label:Source valueType:source-location] map[granularity:1 key:reflowTime label:Total reflow time valueType:ms]]
items: [map[reflowTime:63.888 source:map[type:text value:[unattributed]]] map[reflowTime:18.248 source:map[column:85575 line:2 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k4X7RWaB1cVpjI.js?scope=header&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:0.988 source:map[column:50335 line:2 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k4X7RWaB1cVpjI.js?scope=header&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:0.271 source:map[column:50393 line:2 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k4X7RWaB1cVpjI.js?scope=header&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:0.196 source:map[column:50457 line:2 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k4X7RWaB1cVpjI.js?scope=header&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:26.743 source:map[column:49615 line:2 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k4X7RWaB1cVpjI.js?scope=header&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:0.394 source:map[column:51395 line:2 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k4X7RWaB1cVpjI.js?scope=header&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:0.508 source:map[column:49637 line:2 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k4X7RWaB1cVpjI.js?scope=header&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:5.646 source:map[column:7201 line:1 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_08daIdwTiu_Omt2gr_WLe0vHtL0_6kHpTc-q07TGwFY.js?scope=footer&delta=10&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:0.392 source:map[column:793 line:0 type:source-location url:https://plausible.io/js/script.file-downloads.hash.outbound-links.pageview-props.tagged-events.js urlProvider:network]] map[reflowTime:0.265 source:map[column:28765 line:7 type:source-location url:https://www.barcelona.cat/estatics-planol/v1.2/library/jquery.min.js urlProvider:network]] map[reflowTime:0.756 source:map[column:52881 line:39 type:source-location url:https://com-shi-va.barcelona.cat/assets/index-97beb0ec.js urlProvider:network]]]

Reducing the download time of images can improve the perceived load time of the page and LCP. Learn more about optimizing image size

Why this matters

Performance issues directly impact user engagement and conversion rates.

URLResource SizeEst Savings
Fem la Barcelona de la teva vida div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera
www.barcelona.cat/sites/default/files/platja_1920x540.jpg1.0 MiB926.1 KiB
div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera
www.barcelona.cat/sites/default/files/capcalera_1900_roses.jpg237.9 KiB116.2 KiB
div.slick-slide > div > div.item > img div.slick-slide > div > div.item > img
www.barcelona.cat/sites/default/files/ICUB_WebBarcelona_252x252px_0.png107.4 KiB103.3 KiB
div.box-destacat > div.content-box > div.box-img > img div.box-destacat > div.content-box > div.box-img > img
/sites/default/files/styles/destacat_petit/public/edifici...102.8 KiB93.7 KiB
div.box-destacat > div.content-box > div.box-img > img div.box-destacat > div.content-box > div.box-img > img
/sites/default/files/styles/destacat_petit/public/forndep...96.7 KiB87.7 KiB
div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera
/sites/default/files/240717_E_FotografiesRecurs_Pantalles...196.2 KiB77.6 KiB
div.d-flex > div.ajuntament-actualitat-media > span.ajuntament-actualitat-yt-preview > img.img-fluid div.d-flex > div.ajuntament-actualitat-media > span.ajuntament-actualitat-yt-preview > img.img-fluid
img.youtube.com/vi/Q0mEbVO3pYc/maxresdefault.jpg80.4 KiB77.3 KiB
Una ciclista circula per un carril bici div.box-destacat > div.content-box > div.box-img > img
/sites/default/files/styles/destacat_petit/public/bicicle...81.6 KiB72.5 KiB
div.box-destacat > div.content-box > div.box-img > img div.box-destacat > div.content-box > div.box-img > img
/sites/default/files/styles/destacat_petit/public/museu-2...73.1 KiB64.1 KiB
div.box-destacat > div.content-box > div.box-img > img div.box-destacat > div.content-box > div.box-img > img
/sites/default/files/styles/destacat_petit/public/llibrer...69.8 KiB60.8 KiB
div.slick-slide > div > div.item > img div.slick-slide > div > div.item > img
www.barcelona.cat/sites/default/files/La%20Meva%20i%20Meet_252x252_P26_cat.jpg54.7 KiB50.5 KiB
Treballadora del SAIER atenent una usuària en una de les taules. Autor: Edu Bay… li.w-100 > div.d-flex > div.ajuntament-actualitat-media > img.img-fluid
/wp-content/uploads/2024/08/14102852/20191029_VisitaSaier...53.1 KiB47.5 KiB
li.col-md-6 > article > div.ajuntament-guia-item-image > img li.col-md-6 > article > div.ajuntament-guia-item-image > img
estatics-nasia.dtibcn.cat/nasia-pro/media/film_fest.570x321.95a61c4a.jpg68.6 KiB43.3 KiB
div.slick-slide > div > div.item > img div.slick-slide > div > div.item > img
www.barcelona.cat/sites/default/files/252x252_1_1.png39.6 KiB35.5 KiB
div.slick-slide > div > div.item > img div.slick-slide > div > div.item > img
www.barcelona.cat/sites/default/files/Grec26-Guia_BCN-252x252-CAT_0.jpg38.8 KiB34.6 KiB
div.slick-slide > div > div.item > img div.slick-slide > div > div.item > img
/sites/default/files/Banners Municipals_v2_252x252_2_barc...35.5 KiB31.3 KiB
li.col-md-6 > article > div.ajuntament-guia-item-image > img li.col-md-6 > article > div.ajuntament-guia-item-image > img
estatics-nasia.dtibcn.cat/nasia-pro/media/Mishima.570x321.73f42630.jpg55.5 KiB30.2 KiB
div.slick-slide > div > div.item > img div.slick-slide > div > div.item > img
www.barcelona.cat/sites/default/files/Baner%20252%20x%202522.jpg27.5 KiB23.3 KiB
li.w-100 > div.d-flex > div.ajuntament-actualitat-media > img.img-fluid li.w-100 > div.d-flex > div.ajuntament-actualitat-media > img.img-fluid
/wp-content/uploads/2026/04/07142055/250423_AF_AmbientDia...45.2 KiB19.5 KiB
div.slick-slide > div > div.item > img div.slick-slide > div > div.item > img
www.barcelona.cat/sites/default/files/Banners%20Web_252x252.png22.9 KiB18.7 KiB
div.content-promo > div.contingut-promo > div.img-promo-capcalera > img div.content-promo > div.contingut-promo > div.img-promo-capcalera > img
www.barcelona.cat/sites/default/files/160x160_1.png12.1 KiB8.0 KiB

Optimize LCP by making the LCP image discoverable from the HTML immediately, and avoiding lazy-loading

Why this matters

Performance issues directly impact user engagement and conversion rates.

lhId: page-1-IMG
nodeLabel: div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera
path: 1,HTML,1,BODY,3,DIV,0,DIV,7,DIV,0,SECTION,0,DIV,0,DIV,0,DIV,1,DIV,0,DIV,0,DIV,0,DIV,1,DIV,0,DIV,0,DIV,0,DIV,0,DIV,0,DIV,0,IMG
selector: div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera
snippet: <img class="bg-promo-capcalera" src="/sites/default/files/capcalera_1900_roses.jpg" data-img-full="/sites/default/files/capcalera_1900_roses.jpg" data-img-1280="/sites/default/files/styles/cap_1280/public/capcalera_1900_roses.jpg?itok=…" data-img-mobile="/sites/default/files/styles/cap_mobile/public/capcalera_1900_roses.jpg?ito…" alt="">

Avoid chaining critical requests by reducing the length of chains, reducing the download size of resources, or deferring the download of unnecessary resources to improve page load.

Why this matters

Performance issues directly impact user engagement and conversion rates.

description: [preconnect](https://developer.chrome.com/docs/lighthouse/performance/uses-rel-preconnect/) hints help the browser establish a connection earlier in the page load, saving time when the first request for that origin is made. The following are the origins that the page preconnected to.
title: Preconnected origins
value: no origins were preconnected
description: Add [preconnect](https://developer.chrome.com/docs/lighthouse/performance/uses-rel-preconnect/) hints to your most important origins, but try to use no more than 4.
title: Preconnect candidates

These insights are also available in the Chrome DevTools Performance Panel - record a trace to view more detailed information.

Redirects introduce additional delays before the page can be loaded. Learn how to avoid page redirects.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Estimated savings: 467 ms

Time to Interactive is the amount of time it takes for the page to become fully interactive. Learn more about the Time to Interactive metric.

Why this matters

Performance issues directly impact user engagement and conversion rates.

TTI

The maximum potential First Input Delay that your users could experience is the duration of the longest task. Learn more about the Maximum Potential First Input Delay metric.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Diagnostics

Minifying JavaScript files can reduce payload sizes and script parse time. Learn how to minify JavaScript.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Reduce unused rules from stylesheets and defer CSS not used for above-the-fold content to decrease bytes consumed by network activity. Learn how to reduce unused CSS.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Consider reducing the time spent parsing, compiling and executing JS. You may find delivering smaller JS payloads helps with this. Learn how to minimize main-thread work

Why this matters

Performance issues directly impact user engagement and conversion rates.

CategoryTime Spent
Script Evaluation972 ms
Other559 ms
Style & Layout358 ms
Script Parsing & Compilation143 ms
Parse HTML & CSS78 ms
Garbage Collection54 ms
Rendering46 ms

Many navigations are performed by going back to a previous page, or forwards again. The back/forward cache (bfcache) can speed up these return navigations. Learn more about the bfcache

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failure reasonFailure type
The page has an unload handler in a sub frame.Actionable

Minifying CSS files can reduce network payload sizes. Learn how to minify CSS.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Estimated savings: 0.0 ms 3.6 KiB
URLTransfer SizeEst Savings
www.barcelona.cat/estatics-planol/v1.2/widget/css/styles.css10.7 KiB3.6 KiB

Set an explicit width and height on image elements to reduce layout shifts and improve CLS. Learn how to set image dimensions

Why this matters

Performance issues directly impact user engagement and conversion rates.

URL
li.w-100 > div.d-flex > div.ajuntament-actualitat-media > img.img-fluid li.w-100 > div.d-flex > div.ajuntament-actualitat-media > img.img-fluid
/wp-content/uploads/2026/04/07142055/250423_AF_AmbientDia...
li.col-md-6 > article > div.ajuntament-guia-item-image > img li.col-md-6 > article > div.ajuntament-guia-item-image > img
estatics-nasia.dtibcn.cat/nasia-pro/media/film_fest.570x321.95a61c4a.jpg
li.col-md-6 > article > div.ajuntament-guia-item-image > img li.col-md-6 > article > div.ajuntament-guia-item-image > img
estatics-nasia.dtibcn.cat/nasia-pro/media/Mishima.570x321.73f42630.jpg
Logotip de l'Ajuntament de Barcelona div#lw-banner > div.lw-banner-wrapper > div.lw-banner-brand > img
/media/widgets/brands/19e3126d-e1c9-4f40-9e90-8d7c407ac1c...
Logo Ajuntament de Barcelona div.bcnbrand-navs-container > div.bcnbrand-logo-main > a.plausible-event-name=barra-logo > img
www.barcelona.cat/assets/images/brand/banner/2025/logo-ajbcn.svg
Barcelona City Council logo div#block-barcelonacat-theme-marcadellloc > div.container > div.barcelona-branding-logo > img
www.barcelona.cat/assets/images/brand/banner/2025/logo-ajbcn.svg
Barcelona City Council logo div.container > nav#menu-footer > a > img
www.barcelona.cat/assetsdi/img/2025/logo-negre.svg

More information about the performance of your application. These numbers don't directly affect the Performance score.

●Layout shift culprits
●Optimize DOM size
●LCP breakdown
●Modern HTTP
●Optimize viewport for mobile
●JavaScript execution time 0.8 s
●Avoid long main-thread tasks 5 long tasks found
●Avoid non-composited animations 17 animated elements found
●Network Requests
●Network Round Trip Times 60 ms
●Server Backend Latencies 50 ms
●Tasks
●Diagnostics
●Metrics
●Screenshot Thumbnails
●Final Screenshot
●Script Treemap Data
●Resources Summary
●Initial server response time was short Root document took 10 ms
●Avoid large layout shifts 2 layout shifts found
○INP breakdown
○User Timing marks and measures
86

Accessibility

These checks highlight opportunities to improve the accessibility of your web app. Automatic detection can only detect a subset of issues and does not guarantee the accessibility of your web app, so manual testing is also encouraged.

ARIA

When a `progressbar` element doesn't have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. Learn how to label `progressbar` elements.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failing Elements
66.66666666666666% completed div.views-row > div#carousel-capcalera > div.footer-carousel-capcalera > div#progressbar-carousel-capcalera

These are opportunities to improve the usage of ARIA in your application which may enhance the experience for users of assistive technology, like a screen reader.

Names and labels

Informative elements should aim for short, descriptive alternate text. Decorative elements can be ignored with an empty alt attribute. Learn more about the `alt` attribute.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failing Elements
div.d-flex > div.ajuntament-actualitat-media > span.ajuntament-actualitat-yt-preview > img.img-fluid div.d-flex > div.ajuntament-actualitat-media > span.ajuntament-actualitat-yt-preview > img.img-fluid

Screen reader users rely on frame titles to describe the contents of frames. Learn more about frame titles.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failing Elements
section.region > div#block-barcelonacat-theme-iframetemps > p > iframe#i-temps section.region > div#block-barcelonacat-theme-iframetemps > p > iframe#i-temps
section.region > div#block-bcn-block-42 > p > iframe#qualitat-aire-i section.region > div#block-bcn-block-42 > p > iframe#qualitat-aire-i
div.destacat > div#block-barcelonacat-theme-comshiva > p > iframe div.destacat > div#block-barcelonacat-theme-comshiva > p > iframe
div#node-119 > div > div#planol-screen > iframe#iframe-planol div#node-119 > div > div#planol-screen > iframe#iframe-planol

These are opportunities to improve the semantics of the controls in your application. This may enhance the experience for users of assistive technology, like a screen reader.

Navigation

A value greater than 0 implies an explicit navigation ordering. Although technically valid, this often creates frustrating experiences for users who rely on assistive technologies. Learn more about the `tabindex` attribute.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failing Elements
Vés al contingut body.page-node-58 > a.visually-hidden

These are opportunities to improve keyboard navigation in your application.

Visible text labels that do not match the accessible name can result in a confusing experience for screen reader users. Learn more about accessible names.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failing Elements
Català Selecciona un idioma div.bcnbrand-navs-wrapper > nav#bcnbrand-lang-nav > div#bcnbrand-lang-dropdown > button#bcnbrand-lang-toggle
○Interactive controls are keyboard focusable
○Interactive elements indicate their purpose and state
○The page has a logical tab order
○Visual order on the page follows DOM order
○User focus is not accidentally trapped in a region
○The user's focus is directed to new content added to the page
○HTML5 landmark elements are used to improve navigation
○Offscreen content is hidden from assistive technology
○Custom controls have associated labels
○Custom controls have ARIA roles
●`[aria-*]` attributes match their roles
●`[aria-hidden="true"]` is not present on the document `<body>`
●`[role]`s have all required `[aria-*]` attributes
●`[role]` values are valid
●`[aria-*]` attributes have valid values
●`[aria-*]` attributes are valid and not misspelled
●Buttons have an accessible name
●`[user-scalable="no"]` is not used in the `<meta name="viewport">` element and the `[maximum-scale]` attribute is not less than 5.
●`button`, `link`, and `menuitem` elements have accessible names
●ARIA attributes are used as specified for the element's role
●Elements with `role="dialog"` or `role="alertdialog"` have accessible names.
●`[aria-hidden="true"]` elements do not contain focusable descendents
●Elements use only permitted ARIA attributes
●ARIA `tooltip` elements have accessible names
●Background and foreground colors have a sufficient contrast ratio
●Document has a `<title>` element
●`<html>` element has a `[lang]` attribute
●`<html>` element has a valid value for its `[lang]` attribute
●Links are distinguishable without relying on color.
●Links have a discernible name
●Lists contain only `<li>` elements and script supporting elements (`<script>` and `<template>`).
●List items (`<li>`) are contained within `<ul>`, `<ol>` or `<menu>` parent elements
●Touch targets have sufficient size and spacing.
●Heading elements appear in a sequentially-descending order
●Document has a main landmark.
●Deprecated ARIA roles were not used
○`[accesskey]` values are unique
○ARIA input fields have accessible names
○ARIA `meter` elements have accessible names
○Elements with an ARIA `[role]` that require children to contain a specific `[role]` have all required children.
○`[role]`s are contained by their required parent element
○Elements with the `role=text` attribute do not have focusable descendents.
○ARIA toggle fields have accessible names
○ARIA `treeitem` elements have accessible names
○The page contains a heading, skip link, or landmark region
○`<dl>`'s contain only properly-ordered `<dt>` and `<dd>` groups, `<script>`, `<template>` or `<div>` elements.
○Definition list items are wrapped in `<dl>` elements
○ARIA IDs are unique
○No form fields have multiple labels
○`<html>` element has an `[xml:lang]` attribute with the same base language as the `[lang]` attribute.
○Input buttons have discernible text.
○`<input type="image">` elements have `[alt]` text
○Form elements have associated labels
○The document does not use `<meta http-equiv="refresh">`
○`<object>` elements have alternate text
○Select elements have associated label elements.
○Skip links are focusable.
○Cells in a `<table>` element that use the `[headers]` attribute refer to table cells within the same table.
○`<th>` elements and elements with `[role="columnheader"/"rowheader"]` have data cells they describe.
○`[lang]` attributes have a valid value
○`<video>` elements contain a `<track>` element with `[kind="captions"]`
○Tables have different content in the summary attribute and `<caption>`.
○All heading elements contain content.
○Uses ARIA roles only on compatible elements
○Image elements do not have `[alt]` attributes that are redundant text.
○Identical links have the same purpose.
○Tables use `<caption>` instead of cells with the `[colspan]` attribute to indicate a caption.
○`<td>` elements in a large `<table>` have one or more table headers.
77

Best Practices

General

Deprecated APIs will eventually be removed from the browser. Learn more about deprecated APIs.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Deprecation / WarningSource
Unload event listeners are deprecated and will be removed.

Errors logged to the console indicate unresolved problems. They can come from network request failures and other browser concerns. Learn more about this errors in console diagnostic audit

Why this matters

Performance issues directly impact user engagement and conversion rates.

SourceDescription
Access to XMLHttpRequest at 'https://ajuntament.barcelona.cat/widgets/bcn-avisos/css/bcn-avisos.css' from origin 'https://www.barcelona.cat' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Access to XMLHttpRequest at 'https://ajuntament.barcelona.cat/widgets/bcn-avisos/css/v1/bcn-avisos.css' from origin 'https://www.barcelona.cat' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Failed to load resource: net::ERR_FAILED
Failed to load resource: net::ERR_FAILED
No element with this id: ajuntament-avisos-header

Source maps translate minified code to the original source code. This helps developers debug in production. In addition, Lighthouse is able to provide further insights. Consider deploying source maps to take advantage of these benefits. Learn more about source maps.

Why this matters

Performance issues directly impact user engagement and conversion rates.

●Uses HTTPS
●Avoids third-party cookies
●Allows users to paste into input fields
●Avoids requesting the geolocation permission on page load
●Avoids requesting the notification permission on page load
●Displays images with correct aspect ratio
●Serves images with appropriate resolution
●Page has the HTML doctype
●Properly defines charset
●No issues in the `Issues` panel in Chrome Devtools
●Ensure CSP is effective against XSS attacks
●Use a strong HSTS policy
●Ensure proper origin isolation with COOP
●Mitigate DOM-based XSS with Trusted Types
●Detected JavaScript libraries
○Redirects HTTP traffic to HTTPS
○Mitigate clickjacking with XFO or CSP
92

SEO

These checks ensure that your page is following basic search engine optimization advice. There are many additional factors Lighthouse does not score here that may affect your search ranking, including performance on Core Web Vitals. Learn more about Google Search Essentials.

Content Best Practices

Informative elements should aim for short, descriptive alternate text. Decorative elements can be ignored with an empty alt attribute. Learn more about the `alt` attribute.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failing Elements
div.d-flex > div.ajuntament-actualitat-media > span.ajuntament-actualitat-yt-preview > img.img-fluid div.d-flex > div.ajuntament-actualitat-media > span.ajuntament-actualitat-yt-preview > img.img-fluid

Format your HTML in a way that enables crawlers to better understand your app’s content.

○Structured data is valid
●Page isn’t blocked from indexing
●Document has a `<title>` element
●Document has a meta description
●Page has successful HTTP status code
●Links have descriptive text
●Links are crawlable
●robots.txt is valid
●Document has a valid `hreflang`
●Document has a valid `rel=canonical`

Send Feedback