Skip to content

JaJuMa - Resource Hints: Preload Critical Resources & Assets

Link to original module

JaJuMa Resource Hints: Preload Critical Resources & Assets for Magento 2 allows using Resource Hints (DNS-Prefetch/Preconnect/Preload/Prefetch) for loading render-critical files and assets as early as possible. The extension also allows preloading LCP/Hero images depending on layout for improving LCP Core Web Vitals KPI!
The module works with Hyvä Theme out-of-the-box, a Compatibility Module is not required.

Full Description of extension scope:
JaJuMa Resource Hints: Preload Critical Resources & Assets for Magento 2

Extension in Magento Marketplace:
JaJuMa Resource Hints: Preload Critical Resources & Assets for Magento 2

No compatibility module is required since the module provides native Hyvä Themes compatibility.

Demos

Magento Luma Demo
Magento & Hyvä Demo
Mage-OS & Hyvä Demo

Features to be implemented

  • basic - does not break layout/design
  • Configure DNS-Prefetch/Preconnect/Preload/Prefetch render-critical JS/CSS/Font files... globally
  • Preload LCP/Hero Images depending on layout, manually configured or automatically selected:
    • Homepage/CMS pages: Manual configuration (responsive images supported)
    • Category Pages: Manual configuration (responsive images supported) OR Category Image OR First Grid Item image
    • Product Pages: First image in Media Gallery
      -> Compatible with our WebP Optimized Images & Ultimate Image Optimizer Extensions. With these extensions installed, the best available image format will be preloaded automatically (WebP, AVIF, High-Res versions)

Magento versions

  • 2.3
  • 2.4

Module Versions (if applicable)

  • 1.0.0+

Contributors

@jajuma @JaJuMaGmbH

Edited by Oli Jaufmann
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information