该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WP CDN Rewrite

描述

This plugin allows you to rewrite the root url of assets, css, and js files. This allows you to load these resources from an external URL improving the page load time by taking advantage of parallel browser requests.

This plugin requires the use of the Voce Settings API library.

If using Composer for dependency management, you can alternatively, after including the plugin files, run composer install to retreive the Voce Settings API dependency.

安装

  1. Upload cdn-rewrite to the /wp-content/plugins/ directory
  2. 通过WordPress的的“Plugins”菜单激活插件
  3. Once the plugin has been activated, navigate to the CDN Rewrite settings page and set the appropriate settings.

评价

2020 年 6 月 23 日
Hello Team, nice plugin, i have wasted lot of time to integrated CDN to one of my client site, but every time it fails because of Elementor was not loading CDN Urls automatically. i have used this plugin and it works perfectly. Please release latest updates of this plugin, even this version is working properly. Thank you.
2019 年 11 月 22 日
Only this plugin work for me. I tried CDN Enabler, WPRocket (inbuilt CDN Integration) Nothing works for me. Only this plugin can integrate CDN properly for single post statics file like images, js, css etc. Guys who used all the above mention plugin to integrate CDN please check your single post statics.
2016 年 12 月 6 日
Hi, Thanks for this plugin. Really does a good job. I use it together with WP Super Cache and Autoptimize. I have a small suggestion, it can be a great option in my opinion to add multi host support, for example: cdn1.domainname.com, cdn2.domainname.com etc. so if you have multi hosts/servers distro the plugin will divide the load between them.
阅读所有9条评价

贡献者及开发者

「WP CDN Rewrite」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「WP CDN Rewrite」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.4.0

  • Fixing bug with relative protocol and explicitly checking scheme

0.3.0

  • Abstracting logic from wp-cdn-rewrite.php in order for the class_exists check to work as intended when APC cache is enabled

0.2.1

  • Updating version numbers and change logs

0.2.0

  • Testing WordPress 4.4
  • Adding srcset support

0.1.5

  • Testing with WordPress 4.1

0.1.4

  • Fixing error when file does not exist and fixing _doing_it_wrong call

0.1.3

  • Adding Grunt build files

0.1.2

  • Adding Capistrano deploy files

0.1.1

  • Fixing issue with URLs without a path part.

0.1.0

  • Initial version.