HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.15k stars 2.9k forks source link

Add support for multi-resolution mobile/desktop images (srcset) #1988

Open gcushen opened 3 years ago

gcushen commented 3 years ago

Feature Request

Goal:

Speed up page loads and improve Lighthouse scores by loading images dynamically depending on the screen size.

Scope

blox-tailwind module

Actions:

Add srcset for multi-resolution mobile/desktop images (whilst also checking all images utilise native lazy loading).

Add srcset to the following images:

jwmbeenakker commented 4 days ago

I think this especially important for the block background images, as these are also part of hero-block and therefore significantly impact the loading times of the homepage... google performance on mreye.nl