photon.php 665 B

12345678910111213141516171819202122
  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. Jetpack::dns_prefetch( array(
  16. '//i0.wp.com',
  17. '//i1.wp.com',
  18. '//i2.wp.com',
  19. ) );
  20. Jetpack_Photon::instance();