[wordpress插件] commonWP普通WP

wordpress 插件 文章 2020-03-29 13:20 614 0 全屏看文

AI助手支持GPT4.0

评分
92
描述

commonWP is a plugin that enables usage of free, public CDN (jsDelivr) for open source JavaScript and CSS

commonWP是一个插件,可为开源JavaScript和CSS使用免费的公共CDN( jsDelivr

files.

文件。

Those files are:

这些文件是:

    • All files from WordPress core, unless development version of WordPress is used.
    • 来自WordPress核心的所有文件,除非使用WordPress的开发版本。

    • All files from plugins hosted by WordPress.org Plugins Repository, unless author of specific plugin doesn't use SVN tags for releasing.
    • -subversion /#tagging-new-versions“ rel =” nofollow“>要发布的SVN标签。

    • All files from themes hosted by WordPress.org Themes Repository.
    • 由WordPress.org主题存储库托管的主题中的所有文件。

    • All files from plugins and themes hosted on GitHub that support GitHub 上托管的来自插件和主题的所有文件均支持

      /afragen/github-updater" rel="nofollow">GitHub Updater.

    • / afragen / github-updater“ rel =” nofollow“> GitHub Updater 。

    • All files marked as available on npm in any type of theme, plugin, or MU plugin.

    • 所有类型的主题,插件或MU插件中标记为在 npm 上可用的所有文件。

      li>

      li>

    It aims to be both lightweight and very secure.

    它旨在既轻巧又非常安全。

    The approach used in this plugin is safer then in any other plugin that enables usage of any CDN.

    此插件中使用的方法比启用任何CDN的任何其他插件中的方法更安全。

    First, commonWP will only rewrite file to point to one on jsDelivr if that remote file is identical to local one.

    首先,如果该远程文件与本地文件相同,commonWP将仅重写文件以指向jsDelivr上的文件。

    Second, during comparison, it generates subresource identity hash of remote jsDelivr

    其次,在比较期间,它会生成远程jsDelivr的子资源标识哈希

    file and includes that hash in page's source code so browser won't load remote file if it doesn't have exactly the same hash.

    文件,并将该哈希值包含在页面的源代码中,这样,如果浏览器没有完全相同的哈希值,浏览器就不会加载远程文件。

    There are no any settings.

    没有任何设置。

    After activation, it will fill up its cache in the background, and that may take some time depending on number of resources site uses.

    激活后,它将在后台填充其缓存,这可能需要一些时间,具体取决于站点使用的资源数量。

    For much more details about commonWP, head over to its GitHub repository.

    有关commonWP的更多详细信息,请转到其 GitHub存储库

下载地址
https://downloads.wordpress.org/plugin/commonwp.1.1.0.zip
-EOF-

AI助手支持GPT4.0