photon.php
| 1 | <?php |
| 2 | /** |
| 3 | * Module Name: Photon |
| 4 | * Module Description: Serve images from our servers |
| 5 | * Jumpstart Description: Mirrors and serves your images from our free and fast image CDN, improving your site’s performance with no additional load on your servers. |
| 6 | * Sort Order: 25 |
| 7 | * Recommendation Order: 1 |
| 8 | * First Introduced: 2.0 |
| 9 | * Requires Connection: Yes |
| 10 | * Auto Activate: No |
| 11 | * Module Tags: Photos and Videos, Appearance, Recommended |
| 12 | * Feature: Recommended, Jumpstart, Appearance |
| 13 | * Additional Search Queries: photon, image, cdn, performance, speed |
| 14 | */ |
| 15 | |
| 16 | Jetpack::dns_prefetch( array( |
| 17 | '//i0.wp.com', |
| 18 | '//i1.wp.com', |
| 19 | '//i2.wp.com', |
| 20 | ) ); |
| 21 | |
| 22 | Jetpack_Photon::instance(); |
| 23 |