3 Commits
Author SHA1 Message Date
Nolimit release 77e30faaeb Update the public pages to 0.3.4 2026-11-22 22:02:35 +00:00
Nolimit release cb4e8a8d8a Update the public pages to 0.3.3 2026-11-14 20:47:50 +00:00
Nolimit release c98ae99d95 Update the public pages to 0.3.2 2026-10-08 16:57:33 +00:00
3 changed files with 12 additions and 2 deletions
+1
View File
@@ -26,6 +26,7 @@ supplying a value. The headings below describe the mechanism, who calls
| `nlcac_preload_urls` | filter | `( array $urls )` — the queue the preloader will walk | preloader | | `nlcac_preload_urls` | filter | `( array $urls )` — the queue the preloader will walk | preloader |
| `nlcac_exclude_script` | filter | `( bool $exclude, string $handle )` — keep a script out of defer | optimiser | | `nlcac_exclude_script` | filter | `( bool $exclude, string $handle )` — keep a script out of defer | optimiser |
| `nlcac_ai_payload` | filter | `( array $payload )` — what the assistant is about to send | assistant | | `nlcac_ai_payload` | filter | `( array $payload )` — what the assistant is about to send | assistant |
| `nlcac_own_hosts` | filter | `( string[] $hosts )` — host names besides `home_url()`'s that this site answers as itself; pages requested under any other `Host` are never stored, and purge and preload refuse other hosts | page cache |
| `nlcac_images_skip` | filter | `( bool $skip, string $img_tag )` — return true to keep one `<img>` out of the WebP/AVIF rewrite | images | | `nlcac_images_skip` | filter | `( bool $skip, string $img_tag )` — return true to keep one `<img>` out of the WebP/AVIF rewrite | images |
**If this plugin is absent**, none of these fire. A consumer must not assume **If this plugin is absent**, none of these fire. A consumer must not assume
+3 -2
View File
@@ -18,7 +18,8 @@ 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. 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 - **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 +47,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.1 | | Version | 0.3.4 |
## Reading order ## Reading order
+8
View File
@@ -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 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.
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 - 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