[wordpress插件] Cache External Scripts缓存外部脚本

wordpress 插件 文章 2020-03-15 10:50 535 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

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…

通常在尝试优化Google Pagespeed得分时,有一个脚本仍然会弹出“利用浏览器缓存”规则:Google自己的gtag.js和/或analytics.js文件…

With this plugin you will be able to cache this file on your local server and enable browser caching for longer than 2 hours.

使用此插件,您将能够在本地服务器上缓存此文件,并启用浏览器缓存超过2小时。

The plugin will check every day if there is a newer version of the file to keep the cache up to date.

该插件会每天检查文件是否有更新版本,以使缓存保持最新状态。

安装步骤

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. 将插件目录 cache-external-scripts 上载到 / wp-content / plugins / 目录,或直接从WordPress插件目录安装。

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. 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).
    6. 该插件缓存了外部脚本后,它将自动替换当前Google Analytics(分析)代码中的网址(这意味着您可以使用当前的Google Analytics(分析)插件)。

下载地址
https://downloads.wordpress.org/plugin/cache-external-scripts.0.4.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Admin Dashboard管理员控制台
[wordpress插件] Disable All Update Notifications禁用所有更新通知
[wordpress插件] Cocoon Media Management茧媒体管理
[wordpress插件] Beeliked Microsite PluginBeeliked Microsite插件
[wordpress插件] a-staff – Team member showcase plugin for WordPress员工– WordPress团队成员展示插件
随便看看
微信公众号openid? 2347
微信开放平台跟公众平台有什么区别? 3608
怎么添加小程序支付功能? 4516
教育科技公司申请微信支付被拒绝? 4798
微信公众号免300认证教程 5892
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 5299
小程序广告组件通过审核,但是小程序内没有显示广告? 5067
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177