[wordpress插件] Awebsome Browser Selector for CACHING用于缓存的网络浏览器选择器

wordpress 插件 文章 2020-02-26 15:00 612 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Quick, Non-technical Overview

快速,非技术性概述

If you use the Awebsome!

如果您使用Awebsome!

Broswer Selector plugin AND a caching plugin (e.g. WP SuperCache), the wrong body classes will be served to your site visitors and could cause your site to render incorrectly.

Broswer Selector插件和缓存插件(例如WP SuperCache),将错误的主体类提供给您的网站访问者,并可能导致您的网站呈现错误。

This plugin overcomes that limitation of ABS!

该插件克服了ABS的局限性!

Technical Details

技术细节

ABS adds classes to the body of your site using WordPress hooks;

ABS使用WordPress挂钩将类添加到您的网站正文中;

this is a problem for caching sites because you do not want those classes cached and served to other clients as they will be inaccurate (e.g. a Mozilla Firefox user could get served a page with body classes that indicate that they use Safari).

这是缓存网站的问题,因为您不希望这些类被缓存并提供给其他客户端,因为它们将是不准确的(例如,Mozilla Firefox用户可能会获得一个包含表示他们使用Safari的正文类的页面)。

The result can range from rendering your site incorrectly to the wrong code being executed.

结果可能从错误地呈现您的网站到执行错误的代码。

This plugin leverages some of the functionality of ABS to generate accurate classes dynamically on every page load and add them to the body class attribute using JavaScript and AJAX (leverages jQuery).

该插件利用ABS的某些功能在每次页面加载时动态地动态生成准确的类,并使用JavaScript和AJAX(利用jQuery)将它们添加到body类属性中。

Please Note

请注意

This plugin must be installed in conjunction with ABS 2.2 or higher.

此插件必须与ABS 2.2或更高版本一起安装。

Awebsome!

令人讨厌!

Broswer Selector for Caching Plugin Page

用于缓存插件页面的Broswer选择器

安装步骤

    1. Install the plugin from your wordpress plugin manager or upload the plugin ZIP file to the plugin manager.
    2. 从您的wordpress插件管理器中安装插件,或将插件ZIP文件上传到插件管理器。

    3. Activate the plugin.
    4. 激活插件。

    5. Recommended: Clear your WordPress cache;

    6. 推荐:清除您的WordPress缓存;

      follow your caching plugin’s documentation for instructions on how to do this.

    7. 请按照您的缓存插件的文档中的操作说明进行操作。

下载地址
https://downloads.wordpress.org/plugin/awebsome-browser-selector-for-caching.1.0.2.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Disable Styles & Scripts禁用样式和脚本
[wordpress插件] AthEasyDraftListOutputAthEasyDraftListOutput
[wordpress插件] Content For Money物有所值
[wordpress插件] Additional Order Filters for WooCommerceWooCommerce的其他订单过滤器
[wordpress插件] BVD Easy Social Feeds & ImagesBVD简易社交Feed和图片
随便看看
微信公众号免300认证教程 4950
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 4066
小程序广告组件通过审核,但是小程序内没有显示广告? 4146
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8012
问题? 7247
如何快速搭建抽奖助手小程序(无需代码知识) 5033
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 5985
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5505
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5201
如何解决渲染层网络错误Failed to load media? 16556