Skip to content

VIVOMEDIA/neos-jpeg-pagespeed-optimization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neos CMS optimization of JPEGs for Google PageSpeed

Latest Stable Version Total Downloads License Maintainability

As Google PageSpeed docs suggests to increase the Google PageSpeed, this Neos CMS plugin changes the sampling factor of images to 4:2:0 while resizing.

Works very well in addition to moc/imageoptimizer.

Supported Imagine drivers:

Install

Install with composer

composer require vivomedia/neos-jpeg-pagespeed-optimization 

If you want to change all already created images, you have to clear all thumbnails and the cache.

./flow media:clearthumbnails
./flow flow:cache:flush --force

Configuration

If you want to disable the image optimization in development context, you can set up following configuration in your /Configuration/Development/Settings.yaml

VIVOMEDIA:
  GooglePageSpeed:
    JpegOptimization:
      enabled: false

TODO

Imgine drivers: