Skip to content

rbaconsulting/sxa-theme-optimizations

Repository files navigation

SXA Theme Optimizations

Release Build Statis CI Build Status NuGet Package

SXA Themes Optimizations helps increase Sitecore SXA site performance and its resulting Google Lighthouse (PageSpeed Insights) performance scores. This plugin adds functionality on top of SXA to further optimize front-end JavaScript/CSS files for better compatibility with the SXA CLI and Creative Exchange.

SXA Themes Optimizations optimizes SXA themes by:

  • Bundling all JavaScript files used by an SXA site into one file.
  • Rendering the newly bundled JavaScript file at the top of the HTML DOM instead of at the bottom of the HTML DOM.
  • Rendering the newly bundled JavaScript file asynchronously instead of synchronously.
  • Preloading the CSS files so that they are no longer a render blocking resource.

Additional Documentation

Usefull Links

About

A small plugin that further optimizes the JavaScript and CSS used through SXA.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published