Recompress JPEGs

PageSpeed Optimization Filters

Benefits

This optimization recompresses jpegs in two different ways, depending on whether the input jpeg's quality higher or lower than PageSpeed's default output quality, which is ImageRecompressionQuality, or JpegRecompressionQuality if set. If the input image is higher quality than PageSpeed is set to produce then recompress_jpeg will recompress the image to the lower quality setting. Otherwise PageSpeed will attempt to improve the compression of the image but won't reduce its quality.

Configuration

Enable pagespeed EnableFilters recompress_jpeg
Disable pagespeed DisableFilters recompress_jpeg

Risk Classification

Unclassified

Example

soon available