crmp / symfony-base

Symfony application for CRMP.
0 stars 0 forks source link

Assets: Use Jpegoptim #9

Open ScreamingDev opened 7 years ago

ScreamingDev commented 7 years ago

Among its many filters, Assetic has four filters which can be used for on-the-fly image optimization. This allows you to get the benefits of smaller file sizes without having to use an image editor to process each image. The results are cached and can be dumped for production so there is no performance hit for your end users.

Jpegoptim is a utility for optimizing JPEG files.

See Cookbook.

ScreamingDev commented 7 years ago

Be aware of #4 for that.