WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
W3 Total cache CSS embedded URL rewriting for CDN (2 posts)

  1. pbelzile
    Member
    Posted 1 year ago #

    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.)

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. Frederick Townes
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic