manifest / performance / wp-core-web-vitals-optimizer
WP Core Web Vitals Optimizer
WordPress optimization patterns for improving LCP, INP, CLS, asset loading, and cache strategy.
★ 0stars
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/sanghuynhxuan/wp-core-web-vitals-optimizer/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
A lightweight Core Web Vitals optimization hook for resource-hint management.
Functional scope
- Runs as a standalone WordPress plugin
- Uses a plugin-specific PHP namespace to avoid class collisions
- Includes an admin settings screen and an enable/disable option
- Implements real WordPress or WooCommerce hooks for the stated workflow
- Cleans up its option on uninstall
Installation
Copy this repository into wp-content/plugins/wp-core-web-vitals-optimizer, activate it, then open Settings → WP Core Web Vitals Optimizer.
Production note
This is a working reference implementation intended for discovery and adaptation to a client’s requirements. Test on staging before deployment.