=== Lumeo Vitals === Contributors: lumeosoft, freemius Tags: performance, core web vitals, lcp, inp, speed Requires at least: 6.0 Requires PHP: 7.4 Tested up to: 7.0 Stable tag: 1.2.1 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Optimize your Core Web Vitals (LCP, INP, CLS) with one click. A lightweight performance engine for modern WordPress sites. == Description == Is your site failing the **Core Web Vitals** assessment? **Lumeo Vitals** helps you fix LCP, INP, and CLS issues without complex configurations. = Lite Features = * **Real Visitor Scores:** Measures actual LCP, INP and CLS from a sample of your visitors and shows live, color-coded scores right in your dashboard — the same p75 methodology Google PageSpeed Insights uses. * **LCP Fix:** Automatically adds high fetch priority to your featured images. * **INP Fix:** Defers non-critical JavaScript to keep the main thread free for user interactions. * **CLS Fix:** Adds missing image dimensions and reserves space for video embeds to stop layout jumps. * **Bloat Remover:** Strips away Emojis and unnecessary Dashicons. * **Block Library Cleaner:** Option to remove heavy Gutenberg CSS (perfect for Elementor/Divi users). = Pro Features = * **Per-Page Breakdown & Trends:** See which pages score worst, track scores over time, and compare mobile vs desktop. * **Predictive Page Loading:** Preloads links on hover for near-instant navigation. * **GDPR Google Fonts Shield:** Locally host or block external Google Fonts for privacy and speed. * **DNS Prefetching:** Pre-connect to third-party domains like Analytics and CDN. == Installation == 1. Upload the `lumeo-vitals` folder to the `/wp-content/plugins/` directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. Go to **Lumeo Vitals** in your admin sidebar and toggle the desired optimizations. == Screenshots == 1. Real Visitor Scores — live LCP, INP and CLS scores from real visitors, right in your dashboard. 2. All one-click optimizations in one place — LCP, INP, CLS Fix and bloat removal, plus a look at what Pro unlocks. == Frequently Asked Questions == = Will this break my site? = Most settings are safe. However, the "Disable Block Library CSS" is aggressive and should only be used if you don't rely on Gutenberg for your layout. = Does it work with WP Rocket or Autoptimize? = Yes! Lumeo Vitals is designed to complement existing caching plugins by focusing on specific Core Web Vitals attributes they often miss. = What data does Real Visitor Scores collect? = For a random sample of your frontend visitors (logged-out, non-editor), the plugin measures LCP, INP and CLS in their browser using Google's official `web-vitals` library and sends the metric value, the page path, and device type (mobile/desktop) to your own site's REST API. No personal data, IP addresses, or cookies are stored. Data stays in your own WordPress database and is automatically deleted after 7 days. You can turn this off anytime in the plugin settings. == Changelog == = 1.2.1 = * Confirmed compatibility and tested up to WordPress 7.0. * Hardened the Real Visitor Scores beacon endpoint with per-IP rate limiting. * Fixed the Real Visitor Scores beacon being silently blocked on sites that disable the REST API for logged-out users. * Cached the Real Visitor Scores summary for 5 minutes to reduce database load on the dashboard. * Full PHPCS/WordPress Coding Standards and Plugin Check compliance pass (escaping, i18n, documentation). = 1.2.0 = * Added CLS Fix: auto image dimensions and oEmbed aspect-ratio wrapping (Lite). = 1.1.1 = * Added a WordPress.org listing screenshot showing Real Visitor Scores. * Bumped Tested up to 7.0.1. * Moved Pro-only code into a separate file so it's physically excluded from the free build (compliance housekeeping, no functional change). = 1.1.0 = * Added Real Visitor Scores: live LCP/INP/CLS measurement from real visitors with a dashboard scorecard (Lite). * Added a "Per-Page Breakdown & Trends" teaser for the upcoming Pro reporting view. = 1.0.0 = * Initial release. * Added LCP, INP, and CLS basic optimizations. * Integrated Freemius for Pro features and licensing.