Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1386124
    bradmaclean
    Participant

    Hello,
    I’ve been working with WPengine to set up and configure their CDN offering. They put in a #of rules to force my sites assets to CDN to get the performance benefits that come with it. However, they were unable to force my site background image and suggested I reach out to you for a recommendation. Here is the asset:

    https://will2walk.org/wp-content/uploads/2017/01/will2walk-wheelchair-bike-race-sci-background1900x1200-35Q.jpg

    I added this image to my site background from the “Layout and Design” section under customize (see attached).

    This is the biggest image on my site and shows up on every page so it would be very beneficial to get it on CDN.

    Thanks!
    Brad

    #1386126
    bradmaclean
    Participant
    This reply has been marked as private.
    #1386141
    Christian
    Moderator

    Hey there,

    Try removing the background then set it up again so it’ll use the CDN updated URL.

    Thanks.

    #1386155
    bradmaclean
    Participant

    Thx Christian for the quick response. It did not work. Here’s what I did:

    1) Removed background image via customize
    2) Saved
    3) Purged caches
    4) Re-added background image and saved
    5) Ran speed test on GTmetrix and checked requests via waterfall tab

    It does not show it having the CDN domain.

    FYI Here are the HTML post-processing rules i have in place:

    #https?://(www\.)?(will2walk.org|w2wfoundation.wpengine.com|2d1j0u3jkk3u3hvho61hegor.wpengine.netdna-cdn.com)/wp-(content|includes)# => https://2d1j0u3jkk3u3hvho61hegor-wpengine.netdna-ssl.com/wp-$3

    Thanks,
    Brad

    #1386165
    Christian
    Moderator

    Thanks for the additional details. I see the issue now. X uses a protocol relative URL in this section. Regretfully, the only solution for this currently would be to modify the file

    themes\x\framework\functions\global\admin\customizer\output.php

    Replace <?php echo x_make_protocol_relative( $x_design_bg_image_full ); ?> with your image CDN URL.

    I’ll forward this to our development team for investigation.

    Thanks.

    #1386214
    bradmaclean
    Participant

    Thanks! I’ll standby.

    Best,
    Brad

    #1386225
    Christian
    Moderator

    You’re welcome.

  • <script> jQuery(function($){ $("#no-reply-1386124 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>