Patu shrinks the images in your WordPress media library by re-encoding them
through the Patu optimization API. It works in place and
keeps the same format and dimensions, so your URLs never change and it works
with every theme and page builder.
- Automatic: new uploads are optimized as they come in, across every
generated size (thumbnail, medium, large, full).
- Bulk: optimize your entire existing library from one screen, with a live
progress bar.
- Safe: a file is only replaced when the optimized version is strictly
smaller (never bigger), a failed optimization never blocks an upload or breaks
your site (never broken), and originals are backed up so you can restore any
image with one click.
- Private: your API key is only ever sent to patu.dev in a request header.
Get a free API key at patu.dev.
Two modes:
- Optimize in place (default): re-encodes JPEG and WebP images to a smaller
version of the same format. URLs never change, so it works with every theme
and page builder. JPEG is the bulk of most libraries’ weight, and this saves
roughly a quarter of its size with no visible quality change.
- Serve next-gen formats (AVIF/WebP): generates modern versions of your
images (JPEG, PNG and WebP) and serves them through a <picture> tag, keeping
the original as a fallback for older browsers. The biggest savings, and it
covers PNG too.
External service
This plugin relies on the Patu image-optimization API to do the actual
compression. It is the core function of the plugin and it cannot work without
it.
- What is sent, and when: the image files you optimize (on upload if
auto-optimize is on, or when you run a bulk optimize / next-gen generate),
plus your API key in the X-Api-Key header. A small built-in sample image is
also sent when you click “Test connection”. Everything goes over HTTPS to
https://patu.dev.
- What comes back: the optimized image bytes. Nothing else about your site
(its content, users, or any personal data) is sent, only the image itself.
The service is operated by Patu (https://patu.dev). By using it you agree to its
terms and privacy policy:
- Terms of service: https://patu.dev/terms
- Privacy policy: https://patu.dev/privacy