banner

Lightweight Cookie Consent Plugin for WordPress – GDPR Compliant, 8KB

img

Product Overview

Lightweight Cookie Notice is a purpose-built WordPress plugin that adds a fully customizable, GDPR-ready cookie consent banner to your site – without slowing it down. Unlike heavy consent management platforms that load external scripts and add database overhead, this plugin runs on a single 8KB gzipped JavaScript file. It handles DOM rendering, styling, and events entirely in the browser, while the WordPress Transients API keeps PHP execution at zero for returning visitors.

Licensed under GPL v3, the plugin can be used on unlimited domains with lifetime manual updates included. Version 3.34.2 ships clean, virus-free files and a demo built with Elementor Pro.

Key Features

  • Ultra-light footprint: One 8KB gzipped JavaScript file manages the entire consent UI – no jQuery, no external dependencies.
  • Zero PHP overhead: Leverages WordPress Transients API so returning visitors trigger no PHP processing.
  • 112+ customization options: Control colors, positions, animations, text, button styles, and behavior per category.
  • Universal caching compatibility: Tested with WP Rocket, W3 Total Cache, LiteSpeed Cache, WP Super Cache, and others.
  • Dual-provider geolocation: Uses two top-tier IP geolocation services to show region-specific consent logic automatically.
  • Multiple cookie categories: Separate necessary, preferences, statistics, and marketing cookies with granular user control.
  • Cookie catalogs: Pre-defined cookie lists accelerate setup and keep your consent records organized.
  • GPL v3 license: Unlimited sites, lifetime updates (manual), 100% clean codebase.

Benefits

Site speed directly impacts SEO rankings and conversion rates. By offloading consent rendering to a tiny client-side script and eliminating PHP hits for cached pages, Lightweight Cookie Notice keeps your Core Web Vitals intact while satisfying GDPR, ePrivacy, and CCPA requirements. The 112+ options mean the banner matches your brand without custom CSS, and dual geolocation ensures visitors see the correct consent model for their jurisdiction automatically.

How It Can Be Used

  • Add a compliant cookie banner to any WordPress site in minutes.
  • Configure category-level consent for analytics, advertising, and functional cookies.
  • Deploy across client sites under a single GPL license – ideal for agencies.
  • Pair with any caching stack without cache-busting or dynamic fragment workarounds.
  • Use geolocation to auto-apply stricter EU rules only where required.

Specifications

  • Version: 3.34.2
  • License: GPL v3
  • File size: 8KB gzipped (single JS file)
  • Customization options: 112+
  • Geolocation providers: Two premium IP services
  • Cookie categories supported: Necessary, Preferences, Statistics, Marketing (extensible)
  • Caching compatibility: All major WordPress caching plugins
  • PHP requirement: WordPress Transients API (core)
  • Updates: Lifetime manual updates included
  • Domain limit: Unlimited

Why Choose This Product?

Most cookie plugins either bloat your frontend with heavy frameworks or hammer your database on every page load. Lightweight Cookie Notice was architected differently: a minimalist JS bundle for the browser, Transients API for the server, and zero compromise on compliance features. The result is a consent banner that passes Core Web Vitals audits, works behind any cache layer, and gives you granular control over every visual and behavioral detail – all under a permissive GPL license that scales with your business.

Frequently Asked Questions

Does this plugin require jQuery or any external libraries?
No. It is written in pure vanilla JavaScript with zero dependencies.

Will it work with my caching plugin?
Yes. It supports all common WordPress caching plugins including WP Rocket, LiteSpeed Cache, W3 Total Cache, and WP Super Cache.

How does geolocation work?
The plugin integrates with two premium IP geolocation services to detect visitor country and apply the appropriate consent regime automatically.

Can I customize the banner to match my brand?
Absolutely. With 112+ options you can adjust colors, fonts, positions, animations, button styles, and category labels without writing CSS.

Is the license valid for client sites?
Yes. The GPL v3 license permits unlimited domain usage, making it suitable for agencies and freelancers managing multiple client websites.

Conclusion

Lightweight Cookie Notice delivers GDPR-compliant cookie consent without the performance penalty. Its 8KB footprint, Transients-based caching strategy, and 112+ configuration options make it a rare plugin that satisfies both compliance teams and Core Web Vitals budgets. GPL licensing and unlimited domains round out a solution built for developers, agencies, and site owners who refuse to trade speed for compliance.

A fast, GPL-licensed cookie consent plugin for WordPress. Built with pure vanilla JavaScript (8KB gzipped), it delivers fully customizable, GDPR-compliant banners with zero PHP overhead and full caching compatibility. Single 8KB JS file – no jQuery, no external dependencies WordPress Transients API eliminates PHP processing for returning visitors 112+ customization options for colors, positions, animations, and behavior Works with WP Rocket, LiteSpeed Cache, W3 Total Cache, WP Super Cache Dual-provider geolocation for automatic region-specific consent logic GPL v3 license – unlimited domains, lifetime manual updates