Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @mbybeat

    Thank you for reaching out and I am happy to help!
    I’ve checked your website and I do not see that the css files are minified.
    I can only see minified JS files, so can you please confirm and share the screenshot of the Performance>Minify page?

    It seems that there is a problem with the font files uploaded to the CDN. Can you please exclude those font files from the CDN in Perofrmance>CDN>Advanced>Rejected files and purge the CDN?

    Thanks!

    Thread Starter mbybeat

    (@mbybeat)

    Hi, thanks for your answer.

    Here is a screenshot of the css part of the minify settings, you can see that minification of the css files is enabled.

    I have also add the troublesome font files to the CDN’s rejected files list, and purged the CDN but it doesn’t seem to change anything.

    Here is the the list of the files added to the excluded files :

    {plugins_dir}/elementor/assets/lib/font-awesome/webfonts/fa-regular-400.ttf
    {plugins_dir}/elementor/assets/lib/font-awesome/webfonts/fa-regular-400.woff
    {plugins_dir}/elementor/assets/lib/font-awesome/webfonts/fa-regular-400.woff2
    {plugins_dir}/elementor/assets/lib/font-awesome/webfonts/fa-solid-900.woff2
    {plugins_dir}/miniorange-login-openid/includes/webfonts/fa-regular-400.ttf
    {plugins_dir}/miniorange-login-openid/includes/webfonts/fa-regular-400.woff
    {plugins_dir}/miniorange-login-openid/includes/webfonts/fa-regular-400.woff2
    {plugins_dir}/miniorange-login-openid/includes/webfonts/fa-solid-900.woff2

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello

    Thank you for your feedback.
    Can you please try using the path as shown below instead of using a placeholder?
    /wp-content/plugins/miniorange-login-openid/includes/webfonts/fa-solid-900.woff2

    Please make sure to purge the CDN and purge the page cache.

    Thanks!

    Thread Starter mbybeat

    (@mbybeat)

    Hi,

    Thanks for your suggestion, I have tried to do that, but it doesn’t change the result.

    Also, I would prefer not to exclude the font files from the CDN. That’s what a CDN is for, right ?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @mbybeat

    Can you please disable CSS minify in Performance>Minify, save all settings and purge the cache, and purge the CDN and see if the issue persists.
    I am asking this to confirm this is related to Minify.
    The W3TC does not rewrite the server path, but the URL of the CDN.

    Thanks!

    Thread Starter mbybeat

    (@mbybeat)

    I have disabled CSS minify, and the fonts are now properly served from the CDN.

    How can we fix this ? I want to minify the CSS…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘minify breaking relative addresses inside ‘url()’ in css files’ is closed to new replies.