diff --git a/docs/README.md b/docs/README.md index a191ec5..7020039 100644 --- a/docs/README.md +++ b/docs/README.md @@ -18,7 +18,8 @@ others, and to your own code. oEmbed machinery, and can rewrite asset URLs to a CDN. - **Images.** Writes WebP (and optionally AVIF) copies beside JPEG and PNG files and offers them with ``, so the page cache stays correct for - every browser. Originals are never touched. + every browser. The images pages use are never touched; an administrator can + delete the unused full-size uploads and editor backups of converted images. - **Preloading.** Walks a queue of URLs on a five-minute cron so the first real visitor does not pay for the first render. - **Purging.** Clears the right pages when a post, a term, a comment or a @@ -46,7 +47,7 @@ others, and to your own code. | Drop-ins | `wp-content/advanced-cache.php`, `wp-content/object-cache.php` | | REST namespace | `nlcac/v1` | | Requires | WordPress 6.0, PHP 7.4. WooCommerce optional | -| Version | 0.3.3 | +| Version | 0.3.4 | ## Reading order diff --git a/docs/SETUP.md b/docs/SETUP.md index 9b7a055..bb1188d 100644 --- a/docs/SETUP.md +++ b/docs/SETUP.md @@ -44,6 +44,14 @@ next to your JPEG and PNG files and offers them to browsers that understand them. The originals are never touched, so switching it off, or deleting the copies, leaves the site exactly as it was. +Below the conversion, **Unused source files** (administrators only) deletes +what WordPress keeps and no page shows — the full-size upload behind every +photo it scaled down, and the earlier versions of images edited in the media +library — for images that have been converted. It tells you how many files and +how much space first. It cannot be undone, and afterwards "Restore original +image" is not offered for those images. `wp cache-manager images sources` counts +them; `wp cache-manager images delete-sources` deletes them. + - Conversion runs in the background; the screen shows how many of the library are done and how much space was saved. - If an image changes size or position after switching on, pick the second