Skip to content
https://barcelona.cat

Lighthouse Mobile

· 0 checks — Mobile 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.

20

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
mobile.com-shi-va.barcelona.cat/assets/index-CiPq0rWH.js0.0 ms698.1 KiB
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
mobile.com-shi-va.barcelona.cat/assets/index-DFDXDFpa.css0.0 ms215.5 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 s90.8 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.7 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
ajuntament.barcelona.cat/widgets/qualitat-aire/v2/lib/slick/slick.min.js0.0 ms10.3 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
cdn.matomo.cloud/dadesbcn.matomo.cloud/container_ItpXlBOC.js691200.0 s68.8 KiB
/estatics/geobcn/1.2/js/lib/jquery/ui-1.10.4/themes/barce...0.0 ms6.4 KiB
mobile.com-shi-va.barcelona.cat/assets/DataLayer-Bthj09ff.js0.0 ms6.2 KiB
www.barcelona.cat/assetsdi/img/2025/logo-negre.svg180.0 s4.4 KiB
mobile.com-shi-va.barcelona.cat/assets/markerclusterer-BF8vaQHs.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/geobcn/1.2/js/api/1.2/img/mapa/marker_fort.png0.0 ms2.3 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
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.2 KiB
mobile.com-shi-va.barcelona.cat/images/icons/marker-small.svg0.0 ms1.2 KiB
mobile.com-shi-va.barcelona.cat/images/icons/close.svg0.0 ms1.2 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-agenda.svg900.0 s1.3 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-iris.svg900.0 s1.3 KiB
com-shi-va.barcelona.cat/images/icons/zoom-in.svg0.0 ms1.1 KiB
com-shi-va.barcelona.cat/images/icons/kebab.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/preferences.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/best-transport.svg0.0 ms1.1 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.0 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/gps.svg0.0 ms1019 B
com-shi-va.barcelona.cat/images/icons/mapa.svg0.0 ms1016 B
com-shi-va.barcelona.cat/images/icons/paperera.svg0.0 ms1010 B
mobile.com-shi-va.barcelona.cat/assets/MapComponent-JjH5Vt-m.js0.0 ms952 B
com-shi-va.barcelona.cat/images/icons/public-transport.svg0.0 ms944 B
com-shi-va.barcelona.cat/images/arrow-help-2.svg0.0 ms926 B
ajuntament.barcelona.cat/widgets/qualitat-aire/v2/lib/slick/slick.css0.0 ms915 B
com-shi-va.barcelona.cat/images/icons/include.svg0.0 ms903 B
com-shi-va.barcelona.cat/images/arrow-help-4.svg0.0 ms886 B
com-shi-va.barcelona.cat/images/arrow-help-3.svg0.0 ms876 B
com-shi-va.barcelona.cat/images/arrow-help-1.svg0.0 ms874 B
com-shi-va.barcelona.cat/images/icons/bicycle.svg0.0 ms867 B
com-shi-va.barcelona.cat/images/icons/search.svg0.0 ms862 B
com-shi-va.barcelona.cat/images/icons/car.svg0.0 ms861 B
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/img/mapa/dropdown.png0.0 ms486 B
/plugins/HeatmapSessionRecording/configs.php?idsite=46&tr...0.0 ms270 B
/plugins/HeatmapSessionRecording/configs.php?idsite=46&tr...0.0 ms269 B
/plugins/HeatmapSessionRecording/configs.php?idsite=19&tr...0.0 ms269 B
/maps/api/js?key=AIzaSyA1hYiZ1NN9YNkxQPWfVHYhI7hmS1JLlLI&...1800.0 s20 B
www.barcelona.cat/assets/core/stylesheets/core.css900.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-v2/bcn-icon.css28800.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
www.barcelona.cat/assetsdi/icoajuntament/bcn-icon.css28800.0 s0 B
www.barcelona.cat/assets/images/brand/banner/2025/ico-ajuntament.svg900.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
www.barcelona.cat/assets/images/brand/banner/2025/logo-ajbcn.svg900.0 s0 B
www.barcelona.cat/assets/images/brand/banner/2025/ico-premsa.svg900.0 s0 B
www.barcelona.cat/assets/images/brand/banner/2025/ico-tramits.svg900.0 s0 B
www.barcelona.cat/assets/images/brand/banner/2025/ico-iris.svg900.0 s0 B
www.barcelona.cat/assets/images/brand/banner/2025/ico-agenda.svg900.0 s0 B
www.barcelona.cat/assets/images/brand/banner/2025/ico-comshiva.svg900.0 s0 B
www.barcelona.cat/assets/images/brand/banner/2025/ico-planol.svg900.0 s0 B
www.barcelona.cat/assets/images/brand/banner/2025/ico-difusio.svg900.0 s0 B

Layout shifts occur when elements move absent any user interaction. Investigate the causes of layout shifts, such as elements being added, removed, or their fonts changing as the page loads.

Why this matters

Performance issues directly impact user engagement and conversion rates.

headings: [map[key:node label:Element subItemsHeading:map[key:extra] valueType:node] map[granularity:0.001 key:score label:Layout shift score subItemsHeading:map[key:cause valueType:text] valueType:numeric]]
items: [map[node:map[type:text value:Total] score:0.193687] map[node:map[boundingRect:map[bottom:728 height:104 left:0 right:412 top:623 width:412] lhId:page-1-DIV nodeLabel:div#page-barcelonacat-wrapper > div#promotional-home > section.region > div#block-bcn-block-42 path:1,HTML,1,BODY,3,DIV,0,DIV,7,DIV,0,SECTION,2,DIV selector:div#page-barcelonacat-wrapper > div#promotional-home > section.region > div#block-bcn-block-42 snippet:<div id="block-bcn-block-42" style="background-color: transparent"> type:node] score:0.193687 subItems:map[items:[map[cause:Unsized image element extra:map[boundingRect:map[bottom:1686 height:215 left:15 right:397 top:1471 width:382] lhId:page-23-IMG nodeLabel:li.w-100 > div.d-flex > div.ajuntament-actualitat-media > img.img-fluid path:1,HTML,1,BODY,3,DIV,0,DIV,13,MAIN,0,SECTION,0,DIV,0,DIV,2,DIV,2,DIV,0,DIV,0,DIV,0,DIV,0,UL,0,LI,0,DIV,0,DIV,0,IMG selector:li.w-100 > div.d-flex > div.ajuntament-actualitat-media > img.img-fluid snippet:<img src="https://media-edg.barcelona.cat/wp-content/uploads/2026/04/07142055/250423…" alt="" class="img-fluid"> type:node]] map[cause:Web font extra:map[type:url value:https://www.barcelona.cat/libraries/accessible360--accessible-slick/slick/fonts/slick.woff]] map[cause:Web font extra:map[type:url value:https://fonts.gstatic.com/s/sourcesanspro/v23/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdu3cOWxw.woff2]] map[cause:Web font extra:map[type:url value:https://fonts.gstatic.com/s/sourcesanspro/v23/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdu3cOWxw.woff2]] map[cause:Web font extra:map[type:url value:https://fonts.gstatic.com/s/sourcesanspro/v23/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7lujVj9w.woff2]] map[cause:Web font extra:map[type:url value:https://fonts.gstatic.com/s/sourcesanspro/v23/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdu3cOWxw.woff2]] map[cause:Web font extra:map[type:url value:https://fonts.gstatic.com/s/sourcesanspro/v23/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdu3cOWxw.woff2]]] type:subitems]]]

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:53.591 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:15.783 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.301 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.218 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:20.345 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.407 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.471 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:16.066 source:map[column:3696 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]]]

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-0-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/styles/cap_mobile/public/capcalera_1900_roses.jpg?ito…" 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

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
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/styles/cap_mobile/public/capcalera_1...208.6 KiB191.8 KiB
Fem la Barcelona de la teva vida div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera
/sites/default/files/styles/cap_mobile/public/platja_1024...204.4 KiB187.6 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/styles/cap_mobile/public/240717_E_Fo...120.5 KiB103.7 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/forndep...96.7 KiB92.4 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 KiB79.0 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 KiB77.2 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 KiB68.8 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 KiB65.5 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 KiB50.4 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
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 KiB31.8 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
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
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 KiB9.1 KiB

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

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

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: 1.7 s

These are the largest layout shifts observed on the page. Each table item represents a single layout shift, and shows the element that shifted the most. Below each item are possible root causes that led to the layout shift. Some of these layout shifts may not be included in the CLS metric value due to windowing. Learn how to improve CLS

Why this matters

Performance issues directly impact user engagement and conversion rates.

ElementLayout shift score
div#page-barcelonacat-wrapper > div#promotional-home > section.region > div#block-bcn-block-42 div#page-barcelonacat-wrapper > div#promotional-home > section.region > div#block-bcn-block-42
0.194

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 reduce Javascript execution time.

Why this matters

Performance issues directly impact user engagement and conversion rates.

URLTotal CPU TimeScript EvaluationScript Parse
Unattributable2.1 s43 ms0.0 ms
mobile.com-shi-va.barcelona.cat/assets/index-CiPq0rWH.js1.7 s1.5 s8.2 ms
www.barcelona.cat/ca967 ms12 ms0.5 ms
com-shi-va.barcelona.cat/assets/index-97beb0ec.js624 ms522 ms8.5 ms
/sites/default/files/js/js_F8_Nr0xrAI1C4QtaUsl4g0GAW841yx...461 ms197 ms4.6 ms
www.barcelona.cat/estatics/geobcn/1.2/api-full-ca.js275 ms182 ms84 ms
cdn.matomo.cloud/dadesbcn.matomo.cloud/container_ItpXlBOC.js251 ms114 ms86 ms
www.barcelona.cat/estatics/geobcn/1.2/js/lib/openlayers/ol-6.15.1.js215 ms119 ms96 ms
/maps/api/js?key=AIzaSyA1hYiZ1NN9YNkxQPWfVHYhI7hmS1JLlLI&...207 ms131 ms68 ms
www.barcelona.cat/assets/core/javascripts/core.js171 ms124 ms39 ms
ajuntament.barcelona.cat/widgets/qualitat-aire/v2/js/lib/jquery.min.js151 ms89 ms9.9 ms
/widgets/current/19e3126d-e1c9-4f40-9e90-8d7c407ac1cb/coo...151 ms109 ms8.9 ms
www.barcelona.cat/estatics-planol/v1.2/library/jquery-ui-1.10.4.js126 ms28 ms53 ms
cdn.matomo.cloud/dadesbcn.matomo.cloud/container_beOBY9ep.js125 ms82 ms41 ms
/js/script.file-downloads.hash.outbound-links.pageview-pr...119 ms83 ms4.2 ms
mobile.com-shi-va.barcelona.cat/assets/index-DFDXDFpa.css88 ms0.0 ms0.0 ms
mobile.com-shi-va.barcelona.cat/ca/api/widget/route83 ms0.5 ms1.1 ms
/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k...80 ms56 ms7.1 ms
ajuntament.barcelona.cat/widgets/temps/v3/js/jquery-1.11.2.min.js79 ms56 ms8.8 ms
releases.jquery.com/git/ui/jquery-ui-git.js79 ms31 ms47 ms
ajuntament.barcelona.cat/widgets/temps/v3/js/jquery-ui.min.js62 ms34 ms18 ms
geoportal.barcelona.cat/PlanolBCN/widget/Widget.aspx?lang=CA57 ms5.6 ms1.3 ms

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 Evaluation3.7 s
Other2.5 s
Style & Layout1.1 s
Script Parsing & Compilation675 ms
Parse HTML & CSS368 ms
Garbage Collection228 ms
Rendering111 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
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.jpg
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...
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...
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.

Optimize DOM size
LCP breakdown
Modern HTTP
Optimize viewport for mobile
Avoid long main-thread tasks 20 long tasks found
Avoid non-composited animations 18 animated elements found
Network Requests
Network Round Trip Times 30 ms
Server Backend Latencies 60 ms
Tasks
Diagnostics
Metrics
Screenshot Thumbnails
Final Screenshot
Script Treemap Data
Resources Summary
Initial server response time was short Root document took 0 ms
INP breakdown
User Timing marks and measures
79

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

When a button doesn't have an accessible name, screen readers announce it as "button", making it unusable for users who rely on screen readers. Learn how to make buttons more accessible.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failing Elements
div.bcnbrand-navs-wrapper > nav.bcnbrand-navbar-search > div#bcnbrand-search-dropdown > button#bcnbrand-search-toggle div.bcnbrand-navs-wrapper > nav.bcnbrand-navbar-search > div#bcnbrand-search-dropdown > button#bcnbrand-search-toggle
div.bcnbrand-navs-wrapper > nav.bcnbrand-navbar-shortcuts > div#bcnbrand-shortcuts-dropdown > button#bcnbrand-shortcuts-toggle div.bcnbrand-navs-wrapper > nav.bcnbrand-navbar-shortcuts > div#bcnbrand-shortcuts-dropdown > button#bcnbrand-shortcuts-toggle

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

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.

Best practices

Touch targets with sufficient size and spacing help users who may have difficulty targeting small controls to activate the targets. Learn more about touch targets.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failing Elements
div.js-view-dom-id-021a2cf942d6f128d53e78256371fe7e725814233850c1952b4d28ac2735d9bf > form#cercadormobile > div.cercadormobile-input > button div.js-view-dom-id-021a2cf942d6f128d53e78256371fe7e725814233850c1952b4d28ac2735d9bf > form#cercadormobile > div.cercadormobile-input > button

These items highlight common accessibility best practices.

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
Form elements have associated labels
`[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
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
Heading elements appear in a sequentially-descending order
Document has a main landmark.
Deprecated ARIA roles were not used
Identical links have the same purpose.
Elements with visible text labels have matching accessible names.
`[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 `tooltip` elements 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
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.
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.
81

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.
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.

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 browser errors logged to the console
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