| 开发者 |
fepo
michaelpehl |
|---|---|
| 更新时间 | 2026年10月7日 22:37 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
fetchpriority="high" — usually the LCP element, the one Core Web Vitals
measures. Everything below it is deferred with loading="lazy". Your theme's
own loading attribute is always respected, and an image already marked as
high priority is never lazy-loaded.
Originals are always kept as a fallback, so a page can never break.
Coming soon: automatic conversion to WebP/AVIF on upload.
How it works: <img> tags are wrapped in <picture> with AVIF/WebP sources (original kept as
fallback), CSS background-images are served as AVIF via an injected style block, and web fonts
are subsetted and served locally — with the theme's Google Fonts request removed, so no visitor
IP is sent to Google for fonts.
What gets optimised — and what doesn't
So you know exactly what to expect — we'd rather under-promise:
background-images (raster jpg/png) are served as AVIF via an injected style block
(no edits to your CSS).<link> is removed (closing the GDPR concern of
visitor IPs going to fonts.googleapis.com). All weights of a family come in one file;
italic styles are not subsetted. Smaller fonts are treated as already optimised.<video> are not covered. A font is only replaced when a matching source is
found. Deleting the plugin removes the on-the-fly rewrites (page returns to original) but
leaves the optimised files in wp-content/uploads/fepo/ (they belong to you).