Support » Plugin: W3 Total Cache » W3 Total cache CSS embedded URL rewriting for CDN

  • I’ve enabled W3 Total Cache for my site with AWS CDN. I’m minifying several CSS files and noticed that the CSS properties with url information for loading images are not rewritten to fetch the images from the CDN.

    Some of my CSS properties also included relative urls. Combining those CSS files broke the reference because the result minified CSS is not at the same path depth. I had to take them out. The CDN serves them so not a great loss.

    Any suggestion? Am I missing a setting? (I checked the code and there appears to be a “postprocessing” step that can be applied to the minify… Perhaps that can be use to at least fix the embedded absolute references.)

Viewing 1 replies (of 1 total)
  • Plugin Author Frederick Townes


    It depends on the paths that are in the file, if they aren’t for your domain name or if the path “doesn’t make sense” to W3TC it won’t rewrite them. I’d need you to submit a bug submission form from the support tab of the plugin to investigate.

Viewing 1 replies (of 1 total)
  • The topic ‘W3 Total cache CSS embedded URL rewriting for CDN’ is closed to new replies.