You have no items in your shopping cart.

Google Pagespeed Tools

Increase ranking for your pages.
$60.00 excl tax

Automatic HTML, CSS, JavaScript and Image Optimization

GooglePageSpeedTools connects nopCommerce storefront rendering to a middleware pipeline that minifies HTML, CSS and JavaScript, repositions and inlines render-blocking assets, adds native image lazy loading, rewrites asset URLs to a CDN, and compresses images with ImageMagick on a recurring schedule.

What It Does

  • HTML minification — WebMarkupMin strips whitespace, comments, CDATA sections and optional end tags from rendered pages.
  • Per-URL ignore list — Exact or prefix-matched pages are excluded from optimization through a configurable list.
  • CSS minification and swap — Replaces stylesheet links with a cached, up-to-date .min.css sibling generated on demand.
  • CSS repositioning — Moves stylesheets into head or to just before the closing body tag, optionally including external stylesheets.
  • CSS inlining and async loading — Inlines CSS below a byte threshold and loads remaining stylesheets asynchronously with a noscript fallback.
  • Critical-path CSS — Injects a configurable inline style block, up to 2000 characters, immediately before the head closes.
  • JavaScript minification and repositioning — Swaps script references for .min.js siblings and can move scripts to head or footer.
  • Font optimization — Repositions font stylesheet links to head or footer and can load them asynchronously.
  • Native image lazy loading — Injects a loading="lazy" attribute into img tags that do not already have one.
  • CDN URL rewriting — Independent CDN base URLs for pictures, CSS and JavaScript, each with its own toggle.
  • Image compression — Compresses jpg, jpeg, png and gif files in configured folders using Magick.NET.
  • Scheduled optimization task — "Google Pagespeed" task runs every 6 hours, refreshing .min.css/.min.js siblings and compressing images.
  • Manual admin tools — One-off minify actions for a single picture, CSS or JavaScript URL, reported as admin notifications.
  • Built-in HTML minification control — Toggles nopCommerce's own CommonSettings.EnableHtmlMinification from the same configuration page.

How It Works

  1. Install the plugin; middleware registers into the ASP.NET Core pipeline and a 6-hour scheduled task is created.
  2. Configure HTML, CSS, JavaScript, font, image and CDN options across the eight admin tabs.
  3. Storefront requests are buffered, rewritten with minified and repositioned assets, and served with a corrected Content-Length.
  4. Visitors receive lazy-loaded images, async CSS, minified markup and CDN-served assets automatically.
  5. The scheduled task compresses images and refreshes .min.css/.min.js files in the background.
  6. Admins trigger one-off minification, review debug logs, or exclude specific pages and assets as needed.

Specs & Requirements

  • nopCommerce — 5.00, 4.90, 4.80, 4.70, 4.60, 4.50, 4.40, 4.30, 4.20, 4.10
  • Plugin type — Misc plugin implemented as ASP.NET Core middleware with a scheduled task and an admin menu event consumer
  • Requires — A Magick.NET native library for the host OS and architecture (win-x64, win-x86, linux-x64, osx-x64), downloaded automatically on first configuration visit
  • Store setup — Picture folders to scan for compression (defaults to ~/images/ and ~/Plugins/); response compression middleware should run after this one for HTML optimization to apply

Powered by nopCommerce

Copyright © 2026 FoxNetSoft. All rights reserved.