Update the public pages to 0.3.5

This commit is contained in:
Nolimit release
2026-11-23 20:45:19 +00:00
parent 77e30faaeb
commit 1781aff7ed
2 changed files with 16 additions and 4 deletions
+4 -3
View File
@@ -18,8 +18,9 @@ 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 `<picture>`, so the page cache stays correct for
every browser. The images pages use are never touched; an administrator can
delete the unused full-size uploads and editor backups of converted images.
every browser. Optionally saves PNG photographs as JPEG, on upload and for the
existing library (references rewritten, 30 days to undo); an administrator can
delete the leftover 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
@@ -47,7 +48,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.4 |
| Version | 0.3.5 |
## Reading order
+12 -1
View File
@@ -44,7 +44,18 @@ 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
**PNG photos to JPEG.** Tick *Save uploaded PNG photos as JPEG* and a PNG
without transparency is saved as JPEG (quality 90 by default) the moment it is
uploaded. For the existing library, **Convert PNG photos to JPEG**
(administrators only) does the same to every PNG image and rewrites every
reference to it — posts, products, page-builder data, categories and settings.
Transparent images, and those where JPEG would not be at least half the size,
stay PNG. The PNG files are kept for 30 days and then deleted; **Undo** puts
everything back until then, and old links to a PNG are redirected to its JPEG.
On the command line: `wp cache-manager images png-to-jpeg` and
`png-to-jpeg-undo`.
Below that, **Leftover originals** (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