• Resolved ben.moody

    (@benmoody)


    Hi, the plugin is awesome btw!

    I just noticed that Jetpack have now added support for hosting static js/css files (other that WordPress core resources) on their CDN.

    It doesn’t look like the autoptimize files end up on the CDN. Just wondering if that’s due to not using wp_enqueue_script to register the autoptimized css/js files? Or maybe they are added too late in the boot process for Jetpack to detect them?

    Not a deal breaker by any means, just wondering if support for this is on the feature list.

    Thanks again for the awesome plugin!

    • This topic was modified 5 years ago by ben.moody.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    As far as I know the wordpress.com CDN hosts a specific set of core & woocommerce & jetpack (and maybe more) JS & CSS and they do not offer support to serve JS that is not on that list (in AO’s case even less likely, as the aggregated JS/ CSS can be specific to a site as it’s the combination of the CSS/ JS found on a page on the site), so this -as far as I know- is not possible Ben.

    Hope this clarifies,
    frank

    Thread Starter ben.moody

    (@benmoody)

    That’s what i thought, but the site just added static files to their feature list (beyond just WP core files like jquery):

    https://jetpack.com/pricing/

    “Jetpack comes with a free Content Delivery Network (CDN) to optimize and deliver your photos and static files like CSS and JavaScript. What’s not to like?”

    The feature may not be fully live yet. Going to test this further without Autoptimize active to see if the JS/CSS are hoisted to the CDN.

    Cheers!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, feel free to keep me posted on your findings here! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New Jetpack Static File CDN Support’ is closed to new replies.