WordPress plugin intelligence profile

JTZL's In-Browser Cache

Boosts performance with client-side caching via Service Workers. Features CDN support, transparent metrics, and requires zero configuration.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version2.0.3
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 6.8 · PHP 8.1
Directory statusactive
Last directory update30 Aug 20262mo ago
Active installations10Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records JTZL's In-Browser Cache version 2.0.3 as active, updated 2mo ago and tested up to WordPress 7.1.

Overview

About this plugin

In-Browser Cache leverages modern browser capabilities through the Service Worker API to implement in-browser caching for static assets, improving website performance while providing transparent metrics.

Unlike traditional server-side caching plugins, In-Browser Cache operates entirely on the client-side, reducing network requests and improving page load times on repeat visits.

Key Features

  • In-Browser Caching: Leverages Service Workers to cache static assets directly in the browser
  • CDN-Aware Caching: Automatically detects assets served from major CDN providers (Cloudflare, BunnyCDN, Fastly, Amazon CloudFront, jsDelivr, unpkg, Google Fonts, and more) using domain patterns, HTTP response headers, and heuristics — no configuration required
  • Smart Caching Strategies: Different strategies for different content types:
  • Cache-first for static assets (JS, CSS, images, fonts)
  • Network-first for HTML content
  • Network-only for API/dynamic routes
  • Simple Configuration: One-click enable/disable toggle with sensible defaults
  • CDN vs Origin Metrics: Cache hits, misses, and bandwidth savings are tracked separately for CDN and origin assets so you can see each contribution
  • Visual Dashboard: Charts and statistics show the impact of caching, including a CDN vs origin breakdown
  • Zero Configuration: Works out of the box with sensible defaults
  • Performance Safeguards: Automatic cache size and lifetime management
  • No External Dependencies: Everything runs on your WordPress site without external services
  • GDPR-Friendly: Service Worker is automatically disabled for logged-in users, and existing caches are cleared on login to protect user privacy

How It Works

In-Browser Cache uses the Service Worker API to intercept network requests and apply different caching strategies:

  • Service Worker Registration: When a user visits your site, a service worker is registered in their browser
  • Request Interception: The service worker intercepts requests for assets
  • CDN Detection: Identifies CDN assets using domain patterns (Cloudflare, BunnyCDN, Fastly, CloudFront, and more), HTTP response headers (cf-ray, bunnycdn-cache-status, x-served-by, x-amz-cf-id), and heuristics (domains containing ‘cdn’, ‘static’, ‘assets’)
  • Caching Strategy Application: Different strategies are applied based on content type and origin (CDN vs local)
  • Metrics Collection: Cache hits, misses, and bandwidth savings are tracked separately for CDN and origin assets
  • Data Synchronization: Metrics are periodically sent to your WordPress site
  • Dashboard Visualization: Data is displayed in the admin dashboard with CDN vs origin breakdowns

Benefits

  • Faster Page Loads: Cached assets load instantly on repeat visits
  • Reduced Bandwidth Usage: Both for your server and your visitors
  • Improved User Experience: Faster page loads lead to better user experience
  • Transparent Metrics: See exactly how caching is benefiting your site
  • Complementary to Server-Side Caching: Works alongside other caching solutions

Developer Information

Source Code

This plugin ships with complete source code for transparency and developer customization:

  • JavaScript Source: Located in /src/ directory
  • src/admin.js – Settings page functionality
  • src/dashboard.js – Metrics dashboard with Chart.js integration
  • src/service-worker.js – Main Service Worker with Workbox integration
  • Build System: Uses esbuild for JavaScript compilation and minification

Build Process

If you need to modify the JavaScript source code, you can rebuild the assets:

Prerequisites:

x or higher

* npm

Build Commands:

Install dependencies

npm install

Clean and build all assets

npm run build

Build individual components

npm run build:admin # Settings page npm run build:dashboard # Metrics dashboard npm run build:sw # Service worker

Clean build directory

npm run clean

Built files are output to the /build/ directory and automatically used by the plugin.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • browser cache
  • client side cache
  • client side
  • in browser cache
  • cdn
  • performance
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 6.8 · PHP 8.1
Update activity30 Aug 20262mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.