承接 onik/lens-wp 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

onik/lens-wp

最新稳定版本:v0.13.2603182

Composer 安装命令:

composer require onik/lens-wp

包简介

ONIK Lens WordPress Plugin — optimizes images and YouTube embeds via the ONIK Lens CDN.

README 文档

README

Boost your Google PageSpeed score and pass Core Web Vitals — without touching a single file in your Media Library.

ONIK Lens optimizes every image and YouTube embed on your site and serves them through the ONIK Lens CDN. Modern formats (AVIF/WebP), tailored sizes (mobile & desktop), and delivery from an edge node closest to the visitor.

Why ONIK Lens?

Slow images are the primary reason WordPress sites fail Core Web Vitals like Largest Contentful Paint (LCP). Many image optimization techniques permanently convert your media. ONIK Lens takes a different approach: your original files stay completely untouched. Optimization happens on our edge nodes, saving your server's CPU, disk space, and bandwidth.

Key Features

  • Instant results — activate and your images are immediately served in the right format, at the right size (mobile or desktop), and from the edge.
  • Modern Formats AVIF, WebP, JPEG — Automatically uses the most efficient format supported by your visitors browsers
  • Lightweight & fast — no image processing on your server, no bloated libraries, no background jobs. All the heavy lifting is offloaded to the edge so your server stays fast and lean.
  • Non-destructive — your WordPress Media Library is never modified; uninstall by simply deactivating the plugin
  • Works everywhere — optimizes images in media, theme assets, Sliders, page builders (Elementor, Divi, Beaver Builder, and more), and any HTML on the page
  • Full Control of Lazy Load & Sizing — Configure lazy loading per CSS selector, control how many images load eagerly above the fold, and fine-tune responsive srcset breakpoints to match your design — all from the settings panel.
  • YouTube Facade — Replaces YouTube embeds with a lightweight screenshot placeholder. The player only loads on click, eliminating the ~500 KB embed penalty on first load — and passing Google Lighthouse's "Facade your YouTube embeds" recommendation.
  • Site Preloads for LCP — Inject <link rel="preload"> hints for your most critical above-the-fold assets to directly improve your Largest Contentful Paint (LCP) score.

Requirements

  • WordPress 6.0+
  • PHP 8.0+
  • An ONIK Lens account (free trial available)

Installation

Install in the WordPress Admin

  1. Download the latest release ZIP from the GitHub Releases page.
  2. In your WordPress admin, go to Plugins → Add New → Upload Plugin.
  3. Select the downloaded ZIP file and click Install Now.
  4. Click Activate Plugin.

Install via Composer

If you manage your WordPress installation with Composer (e.g. Bedrock or a custom stack):

composer require onik/onik-lens

The plugin will be installed automatically into your plugins directory via composer/installers.

Configuration

Default settings will work great right out of the box. Tailor the settings in the WordPress admin under Settings → ONIK Lens.

No PHP configuration, no wp-config.php constants, and no manual file edits are required.

More Information

Full documentation, feature guides, and account setup are available at onik.io.

License

GPL-2.0-or-later — see LICENSE

统计信息

  • 总下载量: 113
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-03-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固