This repository has been archived on 2022-08-01. You can view files and clone it, but cannot push or open issues or pull requests.
Oldphaloskepsis/plugins/jetpack/modules/photon.php

23 lines
673 B
PHP
Raw Permalink Normal View History

2017-01-12 23:10:07 +00:00
<?php
/**
* Module Name: Photon
* Module Description: Speed up images and photos.
* Jumpstart Description: Mirrors and serves your images from our free and fast image CDN, improving your sites performance with no additional load on your servers.
* Sort Order: 25
* Recommendation Order: 1
* First Introduced: 2.0
* Requires Connection: Yes
* Auto Activate: No
* Module Tags: Photos and Videos, Appearance, Recommended
* Feature: Recommended, Jumpstart, Performance-Security
* Additional Search Queries: photon, image, cdn, performance, speed
*/
Jetpack::dns_prefetch( array(
'//i0.wp.com',
'//i1.wp.com',
'//i2.wp.com',
) );
Jetpack_Photon::instance();