{"id":70910,"date":"2017-06-26T22:30:41","date_gmt":"2017-06-26T22:30:41","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/tiny-cdn\/"},"modified":"2018-10-06T09:16:19","modified_gmt":"2018-10-06T09:16:19","slug":"tiny-cdn","status":"publish","type":"plugin","link":"https:\/\/es-cr.wordpress.org\/plugins\/tiny-cdn\/","author":8544055,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1.6","stable_tag":"0.1.6","tested":"4.9.29","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"Tiny CDN","header_author":"Viktor Sz\u00e9pe","header_description":"Use an origin pull CDN with very few lines of code.","assets_banners_color":"","last_updated":"2018-10-06 09:16:19","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/szepe.net\/wp-donate\/","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1708,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.3","0.1.4","0.1.5","0.1.6"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3863,3864,187,247],"plugin_category":[52,54],"plugin_contributors":[78038],"plugin_business_model":[],"class_list":["post-70910","plugin","type-plugin","status-publish","hentry","plugin_tags-cdn","plugin_tags-content-delivery-network","plugin_tags-optimization","plugin_tags-performance","plugin_category-performance","plugin_category-security-and-spam-protection","plugin_contributors-szepeviktor","plugin_committers-szepeviktor"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/tiny-cdn.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Use an origin pull CDN with very few lines of code.<\/p>\n\n<ul>\n<li>Works with custom \/wp-content location<\/li>\n<li>Does not support multisite installations<\/li>\n<\/ul>\n\n<p>Pull requests are welcome on <a href=\"https:\/\/github.com\/szepeviktor\/tiny-cdn\">GitHub<\/a>.<\/p>\n\n<p>This plugins has no user interface.<\/p>\n\n<p>Set \/wp-includes (optional) and \/wp-content (optional) CDN URL-s in your wp-config.php.<\/p>\n\n<pre><code>\/\/ No trailing slash!\ndefine( 'TINY_CDN_INCLUDES_URL', 'https:\/\/d2aaaaaaaaaaae.cloudfront.net\/wp-includes' );\ndefine( 'TINY_CDN_CONTENT_URL', 'https:\/\/d2aaaaaaaaaaae.cloudfront.net\/wp-content' );\n<\/code><\/pre>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload <code>tiny-cdn.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How to configure?<\/dt>\n<dd><p>Hook into these filters before <code>template_redirect<\/code> time.<\/p>\n\n<pre><code>\/\/ Disable rewriting\nadd_filter( 'tiny_cdn_disable', '__return_true' );\n\n\/\/ Don't rewrite for these users\nadd_filter( 'tiny_cdn_capability', function () { return 'edit_pages'; } );\n\n\/\/ This is a regular expression to exclude single files\nadd_filter( 'tiny_cdn_excludes', function () { return '#\\.php#'; } );\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1.6<\/h4>\n\n<ul>\n<li>Big typo in handling image thumbnails<\/li>\n<\/ul>\n\n<h4>0.1.5<\/h4>\n\n<ul>\n<li>Add support for Yoast's <code>wpseo_xml_sitemap_img_src<\/code> filter<\/li>\n<\/ul>\n\n<h4>0.1.4<\/h4>\n\n<ul>\n<li>Filter post thumbnail too<\/li>\n<\/ul>\n\n<h4>0.1.3<\/h4>\n\n<ul>\n<li>First release on WP.org<\/li>\n<\/ul>","raw_excerpt":"Use an origin pull CDN with very few lines of code.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/70910","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=70910"}],"author":[{"embeddable":true,"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/szepeviktor"}],"wp:attachment":[{"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=70910"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=70910"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=70910"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=70910"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=70910"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/es-cr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=70910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}