PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Cache
  4. Cache External Scripts
Cache External Scripts icon

Cache External Scripts

Save the Google Analytics file (gtag.js / analytics.js) locally to be able to cache it for longer than 2 hours for a better PageSpeed score!

By Voorsie·Cache·Free
5(25 reviews)
·1.0K+ active installs·Updated 6 years ago
DownloadVisit HomepageCompare

As of April 2026, Cache External Scripts is a WordPress cache plugin with 1.0K+ active installations and a 5/5 rating from 25 reviews. It has been downloaded 31K+ times in total. Requires WordPress 3.0.1+ and PHP false+. Available on WordPress.org since 2015. Last updated 6 years ago — may have compatibility concerns. Downloads are up 20% this week. Top alternative: WP-Optimize – Cache, Compress images….

5/525 reviews
1.0K+active installs
31K+total downloads
11 yearssince 2015

Overview

Often when trying to optimize the Google Pagespeed score, there is one script which still causing the ‘Leverage browser caching’ rule popping up: Google’s own gtag.js and/or analytics.js file…

With this plugin you will be able to cache this file on your local server and enable browser caching for longer than 2 hours. The plugin will check every day if there is a newer version of the file to keep the cache up to date.

Read full description on WordPress.org

Screenshots

Ratings & Reviews

525 reviews
5 ★
24
4 ★
1
3 ★
0
2 ★
0
1 ★
0

Recent Reviews

80
by vkw72·6 years ago

Very Good plugin

Great job for google analytics (only)
by RicaNeaga·6 years ago

Would be great to also support facebook pixel code (at some point) 🙂

works like a charm!
by alibt68·6 years ago

I was a bit concerned about this plugin and its conflict with W3, but it gets the job done perfectly! thanks guys

works very well
by tonyuk123·6 years ago

Great little plugin, works very well
could do with a few other things being cached – google maps?

best service
by musa007·7 years ago

I love this

Download Trends

Today: 5Yesterday: 8This week: 24Period total: 919

Compatibility

WordPress3.0.1+ requiredTested up to 5.2.24
PHPfalse+ required

Version Adoption

v0.4
92.1%
v0.3
7.9%

Top Alternatives to Cache External Scripts

WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance icon
WP-Optimize – Cache, Compress images…
4.81.0M+ installsUpdated 1 week ago
ViewCompare
WP Super Cache icon
WP Super Cache
4.31.0M+ installsUpdated 4 months ago
ViewCompare
WP Fastest Cache – WordPress Cache Plugin icon
WP Fastest Cache – WordPress Cache…
4.91.0M+ installsUpdated 1 month ago
ViewCompare
SpeedyCache – Cache, Optimization, Performance icon
SpeedyCache – Cache, Optimization…
4.5600K+ installsUpdated 4 days ago
ViewCompare
Breeze Cache icon
Breeze Cache
3.5400K+ installsUpdated 2 weeks ago
ViewCompare
View all cache plugins →

Frequently Asked Questions

Changelog

0.4

  • Added support for new Google Analytics tracking code using gtag.js
  • Added missing semicolon which rarely caused a JavaScript issue in certain cases when minifying source code
View full changelog on WordPress.org

Contributors

VoorsieVoorsie
Plugin Info
Version
0.4
Last Updated
May 11, 2019
WP Requires
3.0.1+
Tested Up To
5.2.24
PHP Requires
false+
Active Installs
1.0K+
Downloads
31K+
Added
Nov 24, 2015
Business
Free

Tags

cachecachingscriptsjavascriptsgoogle analytics

Developer

V
Voorsie
1 plugins0.0M+ total installs
View all plugins →

Quick Compare

Cache External Scripts vs WP-Optimize – Cache, Compress images…→Cache External Scripts vs WP Super Cache→Cache External Scripts vs WP Fastest Cache – WordPress Cache…→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.