विवरण
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' );
स्थापना
This section describes how to install the plugin and get it working.
- Upload
tiny-cdn.php
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
प्रश्नोत्तर
- 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#'; } );
समीक्षाहरू
यस प्लगिनको लागि कुनै समीक्षाहरू छैनन्।
योगदानकर्ता र डेभलपरहरू
“Tiny CDN” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।
योगदानकर्ताहरू“Tiny CDN” लाई आफ्नो भाषामा अनुवाद गर्नुहोस्
विकासमा रुचि छ?
आरएसएस द्वारा कोड ब्राउज गर्नुहोस्, एसभीएन रिपजिटरी हेर्नुहोस्, वा विकास लग को सदस्यता लिनुहोस्।
चेन्जलग
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