Title: Tiny CDN
Author: Viktor Szépe
Published: <strong>26 Tháng 6, 2017</strong>
Last modified: 6 Tháng 10, 2018

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://s.w.org/plugins/geopattern-icon/tiny-cdn.svg)

# Tiny CDN

 Bởi [Viktor Szépe](https://profiles.wordpress.org/szepeviktor/)

[Tải về](https://downloads.wordpress.org/plugin/tiny-cdn.0.1.6.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/tiny-cdn/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/tiny-cdn/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/tiny-cdn/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/tiny-cdn/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/tiny-cdn/)

## Mô tả

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](https://github.com/szepeviktor/tiny-cdn).

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' );
    ```

## Cài đặt

This section describes how to install the plugin and get it working.

 1. Upload `tiny-cdn.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## Hỏi đáp

  How to configure?

Hook into these filters before `template_redirect` time.

    ```
    // Disable rewriting
    add_filter( 'tiny_cdn_disable', '__return_true' );

    // Don't rewrite for these users
    add_filter( 'tiny_cdn_capability', function () { return 'edit_pages'; } );

    // This is a regular expression to exclude single files
    add_filter( 'tiny_cdn_excludes', function () { return '#\.php#'; } );
    ```

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Tiny CDN” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Viktor Szépe ](https://profiles.wordpress.org/szepeviktor/)

[Dịch “Tiny CDN” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/tiny-cdn)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/tiny-cdn/), check out [SVN repository](https://plugins.svn.wordpress.org/tiny-cdn/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/tiny-cdn/)
qua [RSS](https://plugins.trac.wordpress.org/log/tiny-cdn/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 0.1.6

 * Big typo in handling image thumbnails

#### 0.1.5

 * Add support for Yoast’s `wpseo_xml_sitemap_img_src` filter

#### 0.1.4

 * Filter post thumbnail too

#### 0.1.3

 * First release on WP.org

## Meta

 *  Phiên bản **0.1.6**
 *  Cập nhật lần cuối **8 năm trước**
 *  Số lượt cài đặt **10+**
 *  Phiên bản WordPress ** 4.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **4.9.29**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/tiny-cdn/)
 * Thẻ
 * [cdn](https://vi.wordpress.org/plugins/tags/cdn/)[content delivery network](https://vi.wordpress.org/plugins/tags/content-delivery-network/)
   [optimization](https://vi.wordpress.org/plugins/tags/optimization/)[performance](https://vi.wordpress.org/plugins/tags/performance/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/tiny-cdn/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

[Your review](https://wordpress.org/support/plugin/tiny-cdn/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/tiny-cdn/reviews/)

## Những người đóng góp

 *   [ Viktor Szépe ](https://profiles.wordpress.org/szepeviktor/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/tiny-cdn/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://szepe.net/wp-donate/)