plugin-icon

Cache External Scripts

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!
Rating
5/5
Version
0.4
Active installations
1K
Last updated
May 11, 2019

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.

Freeon Business plan
Tested up to
WordPress 5.2.23
This plugin is available for download for your site.