This plugin is outdated and might not be supported anymore
Cache External Scripts

Cache External Scripts

Details
View on WordPress

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.

Details

Plugin code:
cache-external-scripts
Plugin version:
0.4
Outdated:
Yes
WP version:
3.0.1 or higher
PHP version:
or higher
Test up to WP version:
5.2.21
Total installations:
900
Last updated:
2019-05-11
Rating:
Times rated:
25
cache
caching
google-analytics
javascripts
scripts