W3 Total Cache
media query strings not present with cdn enabled (4 posts)

  1. Jonathan Lahijani
    Posted 2 years ago #

    I'm using W3 Total Cache with Amazon S3 as my CDN.

    Let's call my website http://www.mywebsite.com.

    When I have the CDN enabled, the CNAME for the assets becomes cdn.mywebsite.com.

    This is great, but it seems that when using W3 Total Cache with the CDN option enabled, the media query strings that are appended after the static files do not appear. This is problematic because if I were to update a CSS file for example, the changes won't be reflected.

    When my site has the CDN disabled, the media query strings do appear.

    I believe there may be an issue with W3TC not recognizing the CDN URLs when rebuiling the page cache and appending the query strings to them. I didn't have this problem with an older version of the plugin, but I also wasn't using S3 for my CDN at the time.

    Please help.


  2. Max
    Posted 2 years ago #

    This is indeed new broken behavior for the latest version of W3TC that I have just noticed as well. Will dig into the source and see why the query strings are not appended -- and post back when I have a bit more clarity.

  3. togume
    Posted 1 year ago #

    I'm also experiencing this behavior. Subscribed to topic.

  4. itagility
    Posted 1 year ago #

    Subscribing as well.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic