• Resolved techhelpnc

    (@techhelpnc)


    Hello there,

    I have tried Stack path and Bunny CDN url in the CDN option on plugin and it does not work, any suggestions?

    Thanks.

Viewing 1 replies (of 1 total)
  • Plugin Author Raul P.

    (@alignak)

    Hi there,

    I just tried it on a developing site and it works.
    I also use bunnycdn and others, so just make sure you only insert there the domain name.

    The option for the CDN will rewrite the path for the CSS and JS files only. It corrects the path for images inside the CSS code as well, but it doesn’t touch images on the html.
    You can use the cdn enabler plugin for that, or the bunnycdn plugin.

    If you enable the defer for pagespeed insights option, it will also not rewrite the js files. If it did, those files would fail to load on slow connections, due to google chrome deprecation of document.write (javascript).

    If you inline all css, it obviously also won’t work, since there are no css files anymore.

    It also doesn’t rewrite anything if you are logged in and have enabled the fix page editors option.

    And you must purge all caches after changing this option.

    If none of this applies to you, let me know your site url and more details on the situation.

    Closing for now, will reopen if needed.
    Thanks

Viewing 1 replies (of 1 total)

The topic ‘CDN not working’ is closed to new replies.