WP-Optimize
95Get caching and more with this powerful cache plugin. Cache, optimize images, clean your database and minify f...
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!
Cache External Scripts is a WordPress plugin designed to improve the Google Pagespeed score by caching external scripts, specifically Google's gtag.js and analytics.js files. By caching these files on your local server, it allows for browser caching that exceeds the default duration of 2 hours.
The plugin checks daily for updates to ensure that the cached version remains current. It is suitable for website owners looking to enhance their site's performance and speed by optimising how external scripts are handled.
Best for: Website owners aiming to improve performance and speed through better script management.
What it does well
Where it falls short
Cache External Scripts offers a straightforward solution for caching specific external scripts. It may be beneficial for those focused on optimising their Google Pagespeed score.
Voorsie's own description of Cache External Scripts, lightly tidied.
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.
Other plugins for making sites fast.
Get caching and more with this powerful cache plugin. Cache, optimize images, clean your database and minify f...
All-in-one unbeatable acceleration & PageSpeed improvement: caching, image/CSS/JS optimization...
Comprehensive image optimization with WebP, AVIF, Lazy Load, and more. Optimize images automatically for Faste...
Easy to use Under Construction Page & Coming Soon Page. Enable Under Construction Mode in seconds & sh...
Compress and optimize images, enable lazy load, serve WebP & AVIF, and speed up your site with a global im...
Speed up your website by using our WebP & AVIF Converter. Optimize images and serve WebP and AVIF images i...