[wordpress插件] CDN RewritesCDN重写

wordpress 插件 文章 2020-03-19 23:20 492 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

After releasing a WordPress plugin called Free CDN, I got a request

发布了名为免费CDN 的WordPress插件后,我收到了一个请求

to create another that supports rewriting hosts for commerical CDNs – those big names like Limelight, Akamai, Velocix, EdgeCast etc.

创建另一个支持重写商业CDN主机的主机-诸如Limelight,Akamai,Velocix,EdgeCast等大牌主机。

Basically, this plugin allows a WordPress user to specify two important variables: an orgin host (says http://www.yoursite.com) and a “destination host” (like http://www.static.yoursite.

基本上,此插件允许WordPress用户指定两个重要变量:原始主机(如http://www.yoursite.com)和“目标主机”(如http://www.static.yoursite)。

com).

com)。

It will then find all the static contents from that orgin host and rewrite them into the destination so that they will be delivered from there.

然后,它将从该原始主机中找到所有静态内容,并将它们重写到目标位置,以便从那里将其交付。

Features

功能