2 Commits
Author SHA1 Message Date
Nolimit release 1781aff7ed Update the public pages to 0.3.5 2026-11-23 20:45:19 +00:00
Nolimit release 77e30faaeb Update the public pages to 0.3.4 2026-11-22 22:02:35 +00:00
2 changed files with 23 additions and 2 deletions
+4 -2
View File
@@ -18,7 +18,9 @@ others, and to your own code.
oEmbed machinery, and can rewrite asset URLs to a CDN. oEmbed machinery, and can rewrite asset URLs to a CDN.
- **Images.** Writes WebP (and optionally AVIF) copies beside JPEG and PNG - **Images.** Writes WebP (and optionally AVIF) copies beside JPEG and PNG
files and offers them with `<picture>`, so the page cache stays correct for files and offers them with `<picture>`, so the page cache stays correct for
every browser. Originals are never touched. 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 - **Preloading.** Walks a queue of URLs on a five-minute cron so the first
real visitor does not pay for the first render. real visitor does not pay for the first render.
- **Purging.** Clears the right pages when a post, a term, a comment or a - **Purging.** Clears the right pages when a post, a term, a comment or a
@@ -46,7 +48,7 @@ others, and to your own code.
| Drop-ins | `wp-content/advanced-cache.php`, `wp-content/object-cache.php` | | Drop-ins | `wp-content/advanced-cache.php`, `wp-content/object-cache.php` |
| REST namespace | `nlcac/v1` | | REST namespace | `nlcac/v1` |
| Requires | WordPress 6.0, PHP 7.4. WooCommerce optional | | Requires | WordPress 6.0, PHP 7.4. WooCommerce optional |
| Version | 0.3.3 | | Version | 0.3.5 |
## Reading order ## Reading order
+19
View File
@@ -44,6 +44,25 @@ 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 them. The originals are never touched, so switching it off, or deleting the
copies, leaves the site exactly as it was. copies, leaves the site exactly as it was.
**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
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 - Conversion runs in the background; the screen shows how many of the library
are done and how much space was saved. are done and how much space was saved.
- If an image changes size or position after switching on, pick the second - If an image changes size or position after switching on, pick the second