Plugin Directory


Opened 5 years ago

Closed 4 years ago

#1826 closed enhancement (duplicate)

Serve all Jetpack js files through Photon/WP.com

Reported by: jeherve Owned by: tmoorewp
Priority: normal Severity: normal
Plugin: jetpack Keywords: photon resources optimization
Cc: jeherve, richard@…


Would it be possible to serve all Jetpack js files through Photon/WP.com when Photon is activated? If Jetpack requires Photon to be enabled before to do, we would make sure that people know about this and can opt out if they want to deregister some of these resources to load their own instead.

We already serve quite a lot of resources through WordPress.com:

  • devicepx-jetpack.js (Retina)
  • e-201306.js (stats)
  • gprofiles.js (Gravatar Hovercards)
  • s.gravatar.com/css/services.css (Gravatar Hovercards)
  • noticons.css (notifications)
  • admin-bar-rest.css (notifications)
  • mustache.js (notifications)
  • postmessage.js (notifications)
  • notes-rest-common.js (notifications)
  • admin-bar-rest.js (notifications)
  • videopress.js (VideoPress)

Wouldn’t it make sense to load the rest of the resources from WordPress.com?

  • jetpack-carousel.js (Carousel)
  • tiled-gallery.js (Tiled Galleries)
  • sharing.js (Sharedaddy)
  • sharing.css (Sharedaddy)
  • jquery.spin.js
  • spin.js
  • infinity.js (Infinite Scroll)
  • infinity.css (Infinite Scroll)
  • widget-grid-and-list.css (Widgets)
  • widgets.css (Widgets)
  • slideshow-shortcode.css (Widgets)

Change History (2)

comment:1 @richardmtl4 years ago

  • Cc richard@… added

comment:2 @jeherve4 years ago

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.