WordPress plugin
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!
- Active installs
- 800+
- Rating
- 5.0 / 5
- Version
- 0.4
- Last updated
- May 11, 2019
- Tested up to
- WordPress 5.2.30
- Requires
- WP 3.0.1
Health check
Is Cache External Scripts safe to rely on?
Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.
No update in over a year
Last updated on May 11, 2019. It may not be compatible with current WordPress or PHP, and unfixed issues are a security risk.
Not yet tested with the latest WordPress
Tested up to WordPress 5.2.30. It often still works, but check on staging first.
Highly rated by users
Rated 5.0 out of 5 from 25 ratings on WordPress.org.
Rank tracker
Where Cache External Scripts ranks in WordPress.org search
Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.
| Keyword | Position | Change | Trend | Current #1 |
|---|---|---|---|---|
| cache | ||||
| caching | ||||
| google analytics | ||||
| javascripts | ||||
| scripts | ||||
| cache external scripts |
Checked against the top 100 WordPress.org search results.
Overview
What Cache External Scripts does
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.
Description from the author's listing. Read the full listing on WordPress.org
Screenshots
Cache External Scripts in action

FAQ
Cache External Scripts: questions and answers
What is Cache External Scripts?
Cache External Scripts is a WordPress plugin by Voorsie. 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!
Is Cache External Scripts free?
Cache External Scripts is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.
How many websites use Cache External Scripts?
WordPress.org reports 800+ active installations of Cache External Scripts. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.
Is Cache External Scripts still maintained?
Cache External Scripts was last updated on May 11, 2019. The current version is 0.4. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.
What does Cache External Scripts require?
Cache External Scripts requires WordPress 3.0.1 or newer. It has been tested up to WordPress 5.2.30.
Can Codefreex set up or customize Cache External Scripts?
Yes. Codefreex installs, configures and customizes WordPress plugins including Cache External Scripts, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.
Free expert review
Need Cache External Scripts set up, customized or fixed?
Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.