Viewing 2 replies - 1 through 2 (of 2 total)
  • Roch

    (@rochesterj)

    Hi!

    Would you mind pasting the link to your website here, so we can check it out?

    Kind Regards,
    -Roch

    Hi,
    I have faced the same issue.
    The request for the scss file was as follows:
    https://cdn.testsite.net/?sccss=1&ver=4.7.2
    Whenever the request was made directly to the origin server, things were good.
    But somehow, CDN(Amazon CloudFront) wasn’t able to serve it correctly( the response header was set as “text\html” instead of “text\css”).So i tried to serve this particular request from origin server instead of CDN by adding this particular request to the exclusion list. This resolved the issue.

    Add the following to the exclusions in CDN ENabler settings
    “/?sccss”
    Save Changes.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘All custom css lost if using CDN’ is closed to new replies.