內容簡介
這個外掛可以輕鬆地使用 Origin Pull CDN。
適用於自訂 /wp-content 位置。
不支援多站點安裝。
歡迎在 GitHub 上提供意見。
此外掛沒有使用者介面。
在 wp-config.php 中設定 /wp-includes(可選)和 /wp-content(可選)的 CDN 網址。
// 不要加上尾端的斜線!
define( 'TINY_CDN_INCLUDES_URL', 'https://d2aaaaaaaaaaae.cloudfront.net/wp-includes' );
define( 'TINY_CDN_CONTENT_URL', 'https://d2aaaaaaaaaaae.cloudfront.net/wp-content' );
外掛標籤
開發者團隊
原文外掛簡介
Use an origin pull CDN with very few lines of code.
Works with custom /wp-content location
Does not support multisite installations
Pull requests are welcome on GitHub.
This plugins has no user interface.
Set /wp-includes (optional) and /wp-content (optional) CDN URL-s in your wp-config.php.
// No trailing slash!
define( 'TINY_CDN_INCLUDES_URL', 'https://d2aaaaaaaaaaae.cloudfront.net/wp-includes' );
define( 'TINY_CDN_CONTENT_URL', 'https://d2aaaaaaaaaaae.cloudfront.net/wp-content' );
