开发者 | trevellyan |
---|---|
更新时间 | 2016年1月27日 05:05 |
PHP版本: | 4.2 及以上 |
WordPress版本: | 4.4.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
add_filter( 'jetpack_photon_reject_https', '__return_false' );
The Jetpack Photon module uses the wordpress.com CDN (content delivery network) to accelerate image loading. It does this by resizing and optimizing the images, and by delivering them from multiple server locations. The Jetpack Tiled Galleries module also uses the wordpress.com CDN, even on a site that doesn’t have Jetpack Photon enabled, which can significantly improve page load time when tiled galleries are present.
By default, Jetpack version 3.8.2 and earlier does not use the wordpress.com CDN on a site that uses HTTPS. The Accept HTTPS with Jetpack Photon and Tiled Galleries plugin is offered as a convenient way to enable and disable use of the wordpress.com CDN on a site that uses HTTPS. If you’re comfortable editing PHP, you might prefer a DIY approach using the line of code shown in the description. For example, you could add it to functions.php in a child theme.
By default, Jetpack version 3.9 and later does use the wordpress.com CDN on a site that uses HTTPS, so this plugin is not required.
There is no reason to install this plugin on a site that doesn’t use HTTPS, regardless of which version of Jetpack is installed.
If your site doesn’t use Jetpack Photon or Jetpack Tiled Galleries, this plugin has no effect.
There are no settings.