Skip to main content Skip to search Skip to main navigation
Shopware Payments ramp-up pricing for 12 months. Limited time only. Learn more
Diese Seite ist auch auf Deutsch verfügbar.
weedesign

Optimize PageSpeed

Rating: 5.0

Average rating of 5 out of 5 stars

(23 reviews)
Downloads: 960

Description

Highlights

  • Optimize PageSpeed
  • Converts JPG and PNG images to WebP
  • Smart lazy loading with above-the-fold detection
  • Deferred CSS and lazy-loaded Google Fonts
  • Gzip, Deflate and browser caching via .htaccess

Features

  • Separate WebP quality for images and thumbnails
  • Optional fallback for browsers without WebP support
  • Background conversion via scheduled task
  • Automatic detection of new and changed images
  • Memory- and timeout-safe batch conversion
  • Convert or reconvert single images incl. thumbnails
  • Error log with retry and skip function
  • Cleanup of orphaned WebP files
  • Delete all generated WebP files with one click
  • CLI commands for indexing, conversion, status and cleanup
  • Optimized srcset and sizes attributes
  • Preloading of web fonts
  • HTML minification
  • Automatic .htaccess backups
  • Optimize PageSpeed

About the Extension

Optimize PageSpeed - Faster loading times for your Shopware shop

Optimize PageSpeed combines the most effective front-end optimizations in one extension. It converts your JPG and PNG images to WebP, adds lazy loading with above-the-fold detection, defers stylesheets and Google Fonts, preloads important fonts, minifies the HTML and sets up compression and browser caching on Apache servers.

Your shop transfers less data per page view and displays content sooner. This gives you a better basis for your Google PageSpeed Insights and Lighthouse scores, for Core Web Vitals such as Largest Contentful Paint (LCP) and for your SEO ranking. Every optimization can be switched on and off individually.

WebP images for JPG and PNG

WebP is a modern image format with noticeably smaller files at comparable visual quality. The extension creates a WebP version of every JPG and PNG in your media library, including all thumbnails. It delivers the WebP files automatically wherever the storefront uses Shopware's standard image template, for example for product images, listings and Shopping Experiences.

  • Separate quality settings for images (default 80) and thumbnails (default 60)
  • JPG and PNG conversion can be enabled separately; PNG transparency is preserved
  • Your original files stay untouched: the WebP files are stored next to them and can be deleted with one click at any time
  • As long as no WebP file exists, the original image is delivered, so there are no broken images during conversion
  • Optional fallback: browsers without WebP support receive the original JPG or PNG
  • Base URL for WebP files can be set globally or per sales channel
  • Debug mode shows the WebP path the extension looks for on every image

Built for large media libraries

Conversion runs in batches and adapts to your server. Before PHP reaches its memory limit or maximum execution time, the batch stops, and the next run continues exactly where it left off.

  • Images are indexed automatically when you open the WebP page for the first time
  • Number of images per batch is adjustable (default: 100)
  • Optional scheduled task: converts pending images every 5 minutes and, once all are done, checks for new or changed files
  • New and changed images are detected by their modification date and queued again
  • Problem images, such as extremely large files, can be skipped; source files over 200 MB are logged as errors instead of blocking the queue
  • Error log with file, message and date, plus "Retry errors"
  • Cleanup removes index entries and WebP files whose source image no longer exists

WebP overview in the Administration

Under Content > WebP you can see the status of every image at a glance:

  • Converted, pending and failed images with progress bar, split into media and thumbnails
  • Bandwidth saved in total and per file: original size, WebP size and reduction in percent
  • Search by path and filter by status
  • Before/after slider to compare the original and the WebP version
  • Convert or reconvert single images; reconverting an image also refreshes its thumbnails
  • Estimated remaining time for manual and scheduled conversion
  • Status of the scheduled task with current phase, last run and duration
  • Maintenance actions: reindex, check updates, retry errors and clean up

CLI commands

Convert large media libraries without a browser, for example via SSH or in deployment scripts:

  • bin/console weedesign:pagespeed:index – indexes all images
  • bin/console weedesign:pagespeed:generate – converts all pending images (--batch=N sets the batch size, default 500)
  • bin/console weedesign:pagespeed:check – finds new and changed images
  • bin/console weedesign:pagespeed:status – shows totals, pending images, errors and the split into media and thumbnails
  • bin/console weedesign:pagespeed:cleanup – removes orphaned entries and WebP files (--dry-run shows a preview)

Lazy loading and above-the-fold detection

  • Native lazy loading (loading="lazy") for images, iframes and videos
  • Images in the first viewport are detected and switched to eager loading, so your Largest Contentful Paint image is not lazy-loaded
  • Zoom, magnifier and slider images are excluded from lazy loading, so product galleries keep working as expected
  • Optional fix for gallery images that are displayed too small

Responsive images in the right size

The extension calculates optimized srcset and sizes attributes from your theme breakpoints (including XXL) and the number of columns. For images with a fixed display width, thumbnails that are much larger than needed are left out, so the browser does not load an oversized file.

Stylesheets and fonts

  • Deferred stylesheets: non-critical stylesheets load after the page has loaded
  • Lazy Google Fonts: Google Fonts load on the first user interaction (scroll, mouse movement, key press or touch)
  • Preload files: important fonts are preloaded with the correct font type (WOFF2, WOFF, TTF, OTF, EOT)
  • "Scan CSS for files" automatically finds the WOFF2 fonts used in your storefront stylesheets
  • Preload lists can be maintained per sales channel

HTML minification

Removes unnecessary whitespace, line breaks and HTML comments from the page source. Redundant type attributes (text/javascript, text/css) are dropped as well. Content of script, style, pre and textarea elements remains untouched, and conditional comments are kept.

Compression and browser caching via .htaccess (Apache)

Switch each server optimization on or off individually:

  • Gzip compression
  • Deflate compression for HTML, CSS, JavaScript, JSON, XML, SVG, fonts and more
  • Keep-Alive for persistent connections
  • Expires headers, e.g. 1 year for JPG, PNG and GIF images and 1 month for CSS and JavaScript
  • Cache-Control headers

The rules are written into a clearly marked section of your public/.htaccess. The extension keeps a copy of the original file and creates a backup before every change. It also checks your web server: if it is not Apache, the .htaccess options are hidden and a notice is shown.

Details

  • Available: English, German
  • Latest update: 2 November 2026
  • Publication date: 23 March 2022
  • Version: 6.0.7
  • Category: SEO Optimization

Resources

Reviews (23)

Average rating
5.0

Average rating of 5 out of 5 stars

Based on 23 reviews
5.0 Functionality
5.0 Usability
5.0 Documentation
5.0 Support

100 %
0 %
0 %
0 %
0 %

Write a review

If you downloaded this extension you can write a review in the Shopware Account.

Write a review
Funktioniert super
5.0

Average rating of 5 out of 5 stars

by Simone Hössinger
30 September 2022 00:22
-
5.0 Functionality
5.0 Usability
5.0 Documentation
5.0 Support
Seite lädt schneller
5.0

Average rating of 5 out of 5 stars

by Peter Ziegengraben
23 September 2022 10:30
Schnellere Ladezeiten und Lazy Loading der Bilder waren die Gründe, wieso ich mich für dieses Plugin entschieden habe.
5.0 Functionality
5.0 Usability
5.0 Documentation
5.0 Support
Super Plugin
5.0

Average rating of 5 out of 5 stars

by Sina Baldauf
3 April 2022 21:41
Macht genau was beschrieben wird.
Falls hier noch weitere Features hinzugefügt werden wäre das natürlich noch sehr wünschenswert, aber wir sind auch so schon sehr zufrieden :)
5.0 Functionality
5.0 Usability
5.0 Documentation
5.0 Support
by weedesign 3 April 2022 21:44
Danke für die tolle Bewertung.
Es sind noch zahlreiche weitere Features geplant. Hoffentlich wird noch im April ein Update folgen, welches das Plugin mächtiger macht.

About the Extension Partner

Partner Status

  • Shopware Extension Partner Shopware
    Extension Partner

Details

  • Ø-Rating: 4.9

    Average rating of 4.9 out of 5 stars

  • Partner since: 2019
  • Extensions: 72

Support

  • Based in: Germany
  • Speaks: German, English
  • Response time: Very quickly