Performance Lab

By WordPress Performance Group

https://wordpress.org/plugins/performance-lab/

Description

The Performance Lab plugin is a collection of modules focused on enhancing performance of your site, most of which should eventually be merged into WordPress core. The plugin allows to individually enable and test the modules to get their benefits before they become available in WordPress core, and to provide feedback to further improve the solutions.

Currently the plugin includes the following performance modules:

  • WebP Uploads: Creates WebP versions for new JPEG image uploads if supported by the server.
  • Persistent Object Cache Health Check: Adds a persistent object cache check for sites with non-trivial amounts of data in Site Health status.
  • Audit Autoloaded Options: Adds a check for autoloaded options in Site Health status.
  • Audit Enqueued Assets: Adds a CSS and JS resource check in Site Health status.
  • WebP Support: Adds a WebP support check in Site Health status.

Inverted mask from AI path

  1. Create a background layer in the desired color
  2. Select the paths that should form the mask and create a compound path
  3. Expand the transparency window
  4. Open the options menu and make sure ‘new opacity masks are inverted’ is selected
  5. In the same menu choose ‘make opacity mask’

Exporting SVG from Ilustrator

Update:

Export artboard to SVG ‘for web’.

  • Save as, use artboard
  • Choose ‘try’ to export for web
  • Choose options
  • Careful when choosing ‘responsive’: it somehow adds vector parts that are outside the artboard area to the svg.

 

Source

SVG profiles

SVG 1.0: all modern desktop and mobile browsers support SVG 1.1, so never choose this option.
SVG 1.1: You will almost always want this.
SVG Tiny/Basic: this is a subset of SVG intended for mobile devices. Only a handful of devices support SVG Tiny and not the full spec, so go for SVG 1.1.

Read More

FLIF – Free Lossless Image Format

http://flif.info/

FLIF is a novel lossless image format which outperforms PNG, lossless WebP, lossless BPG and lossless JPEG2000 in terms of compression ratio.

According to the compression experiments we have performed, FLIF files are, on average:

  • 26% smaller than brute-force crushed PNG files,
  • 35% smaller than typical PNG files,
  • 37% smaller than lossless JPEG 2000 compression,
  • 15% smaller than lossless WebP,
  • 22% smaller than lossless BPG.