• Resolved seodance

    (@seodance)


    Good evening,
    first of all thanks for the plugin, with lot of options and “power” in my opinion.

    In order to enable CDN URL rewrite, I want to specify the CDN’s CNAME/URLs for Stylesheet (.css) and Javascript Files.

    I’ve asked to Siteground support but they replied:

    “Cloudflare does not create additionally CNAMEs for your CSS and JS files, the way other CDNs do.”

    So, the CDN URL rewrite is not necessary with Cloudflare?

    Thanks a lot and best regards!

Viewing 1 replies (of 1 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @seodance First, my sincere apologies for getting back to you so late! As for the CDN URL rewrite, you don’t need it for Cloudflare if all your assets are already loading from the same domain when you view the HTML source code.

    The feature “Enable CDN URL rewrite?” in Asset CleanUp is taking effect only for the files under /wp-content/cache/asset-cleanup/ and it’s recommended to be used if you already have your files outside the caching directory loaded from a CDN (the best example is KeyCDN), but the URL referencing to /wp-content/cache/asset-cleanup/ is still your domain URL and not the CDN one. That’s when you have to enable this option. Otherwise (which is the case most of the time), just leave it disabled (as it is by default).

Viewing 1 replies (of 1 total)
  • The topic ‘CDN URL rewrite with Siteground and Clouflare’ is closed to new replies.