[wordpress插件] Auto Update Cache自动更新缓存

wordpress 插件 文章 2020-02-25 00:20 683 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Made CSS/JS file changes but not showing on website?

CSS / JS文件已更改,但未在网站上显示?

this plugin will help.

该插件会有所帮助。

Auto Update Cache allows you to update the version of all CSS and JS files automatically or manually in one click.

“自动更新缓存”使您可以自动或一键式更新所有CSS和JS文件的版本。

Show latest changes to the users/viewers.

向用户/查看者显示最新更改。

How it works?

它如何工作?

By default, WordPress loads assets using query param \”ver\” in the URL (e.g., style.css?ver=4.9.6).

默认情况下,WordPress使用URL中的查询参数\“ ver \”加载资产(例如,style.css?ver = 4.9.6)。

It allows browsers to cache this files until the WordPress core will not be upgraded to a newer version.

它允许浏览器缓存该文件,直到WordPress核心不会升级到较新版本为止。

To prevent caching of CSS and JS files, this plugin adds query param \”time\” with beautiful easy to use dashboard panel (eg, style.css?ver=4.9.6&time=1526905286) to all links, loaded using

为防止缓存CSS和JS文件,该插件将查询参数\“ time \”与易于使用的精美仪表板面板(例如,style.css?ver = 4.9.6&time = 1526905286)添加到所有链接,并使用

wp_enqueue_style and wp_enqueue_script functions.

wp_enqueue_style和wp_enqueue_script函数。

安装步骤

From WordPress dashboard

从WordPress仪表板中

    1. Visit \”Plugins > Add New\”.
    2. 访问\“插件>添加新\”。

    3. Search for \”Auto Update Cache\”.
    4. 搜索“自动更新缓存”。

    5. Install and activate Auto Update Cache plugin.
    6. 安装并激活自动更新缓存插件。

    From WordPress.org site

    来自WordPress.org网站

      1. Download Auto Update Cache plugin.
      2. 下载自动更新缓存插件。

      3. Upload the \”auto-update-cache\” directory to your \”/wp-content/plugins/\” directory.
      4. 将\“ auto-update-cache \”目录上传到\“ / wp-content / plugins / \”目录。

      5. Activate Auto Update Cache on your Plugins page.
      6. 在“插件”页面上激活自动更新缓存。

下载地址
https://downloads.wordpress.org/plugin/auto-update-cache.1.0.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] CBX Woo Free Product Quick CheckoutCBX Woo Free产品快速结帐
[wordpress插件] AP GravatarsAP墓碑
[wordpress插件] CIELO Brazilian Payment Gateway for MarketPressCIELO MarketPress巴西支付网关
[wordpress插件] Audio Player with Playlist Ultimate带有播放列表旗舰版的音频播放器
[wordpress插件] Add User Meta添加用户元
随便看看
教育科技公司申请微信支付被拒绝? 3882
微信公众号免300认证教程 4983
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 4100
小程序广告组件通过审核,但是小程序内没有显示广告? 4281
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8065
问题? 7290
如何快速搭建抽奖助手小程序(无需代码知识) 5073
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 6029
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5641
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5233