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

23 lines
673 B
PHP
Raw Permalink Normal View History

2018-03-21 18:19:20 +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();