[WordPress] 外掛分享: CDN Tools

首頁外掛目錄 › CDN Tools
10+
安裝啟用
☆☆☆☆
1/5 分(1 則評價)
5741 天前
最後更新
問題解決
WordPress 2.9+ v1.0 上架:2009-02-25

內容簡介

CDN Tools 是一個 WordPress 外掛,可以讓你將 JavaScript 和媒體檔案加載到外部伺服器以大大提高頁面載入速度。你可以將資料側載到商業 CDN 或者從 Google 的伺服器免費加載你的較大的 JS 函式庫 (如prototype、jquery)。 CDN Tools 設計為盡可能容易使用,所以不妨試試它!你的博客讀者會感謝你的。目前支持的商業 CDN 僅有 Cloud Files。請查看外掛首頁觀看屏幕錄像。

1.0 版本需要重新加載文件!請在準備好重新加載後再進行升級。

關於我的外掛的最新版本和其他信息,請關注 @reaperhulk 的 Twitter 帳戶。

查看完整變更日誌。

CDN Loader Dev FAQ
如何創建一個新的 CDN 類別?

在名為 cdn_classes 的目錄中創建一個名為短名的目錄。然後在內部創建一個名為 loader.php 的檔案,具有與 cloudfiles loader 相同的基本結構並進行一切必要的操作。然後編輯 cdn-tools.php 檔案以添加你的項目。輕而易舉 (如果你的糕點非常複雜)。我保證我會寫些更好的說明,以便第三方可以在某些方面貢獻 CDN 外掛。目前,CDN Tools 可能有一些僅適用於 Cloud Files 的假設。

授權
版權所有 2010 Paul Kehrer

本程式是自由軟體;你可以重新發佈或修改它
根據自由軟體基金會發布的 GNU 通用公共許可證
版本 2 或 (你的選擇) 任何更高版本。

本程式是希望它有用,但是沒有任何形式的保證
連帶任何暗示的保證,可商業性或健身特定目的的,即使是這樣
詳細信息,請參閱 GNU 通用公共許可證。

你應該收到一份 GNU 通用公共許可證的副本
連同此程式;如果沒有,請寫信給 Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「CDN Tools」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

CDN Tools is a WordPress plugin that allows you to load javascript and media files to an external server to drastically speed page loads. You can sideload data to a commercial CDN or just load your larger JS libraries (prototype, jquery) for free from Google’s servers. CDN Tools has been designed to be as easy to use as possible, so give it a shot! Your blog’s readers will thank you. At this time the only commercial CDN supported is Cloud Files. Check out the plugin homepage to view a screencast.
1.0 requires you to reload your files! Do not upgrade until you’re ready to reload.
Catch new releases and other information about my plugins by following @reaperhulk on Twitter.
View complete changelog.
CDN Loader Dev FAQ
How do I create a new CDN class?
Create a directory in cdn_classes named whatever the shortname will be. Then create a file named loader.php inside with the same basic structure as the cloudfiles loader and do everything right. Then edit the cdn-tools.php file to add your item. Easy as pie (if your pie is made of complexity). I promise I’ll write some better instructions so third parties can contribute CDN plugins at some point. Currently CDN Tools probably makes some assumptions that are Cloud Files specific.
License
Copyright 2010 Paul Kehrer

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

延伸相關外掛

文章
Filter
Apply Filters
Mastodon