Banner for 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! Wordpress Tutorial
Noted That:
  • To install correctly this cache-external-scripts.zip .
  • Fisrt Download the cache-external-scripts.zip to your computer
  • Extract/Open cache-external-scripts.zip to Your Computer.
  • Then, Find readme.txt file inside cache-external-scripts.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.
Start the Tips:

Step-1 : Download " cache-external-scripts.zip " to Your Local Computer.

Step-2 : Then, Login to your " yourdomain.com/wp-admin " Dashboard.

Login to Wordpress Cache External Scripts

Step-3 : Then, Click on " Plugins " + " Add New " from left Side Menu of Dashboard.

Go to Plugin Install Cache External Scripts

Step-4 : Now, Click on " Upload Plugin " button.

Click Upload Button Cache External Scripts

Step-5 : Now, Browse " cache-external-scripts.zip " Downloaded plugin from your computer, Where you downloaded " cache-external-scripts.zip " According to Step – 1 Above then, click on " Install Now "

Upload Plugin Cache External Scripts

Step-6 : Now, Click on " Active Plugin "

Activate Cache External Scripts

Step-7 : Then, See left Side Menu. " Cache External Scripts " folder is added on left Side Menu. Now, Click on " Cache External Scripts " folder.

Noted that: If you do not see " Cache External Scripts " folder on left Side Menu then, see at left Side Menu " Settings " or " Tools ".

Step-8 : Now you configure yourself oR Watch video tutorial below about Cache External Scripts Configurations and Settings or How to work " Cache External Scripts " in your WordPress site.

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " Cache External Scripts " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is Cache External Scripts
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide

Installation is very easy;

  1. Upload the plugin directory cache-external-scripts to the /wp-content/plugins/ directory or install it directly from the WordPress plugin directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Once the external script is cached by the plugin, it will automatically replace the url in your current Google Analytics code (meaning you can use your current Google Analytics plugin).

Name