Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

CSS Not Serving from CDN/Cloudfront (3 posts)

Started 1 year ago by: mojoey

  • Profile picture of mojoey mojoey said 1 year ago:

    Site url: http://www.healkick.com/

    I’m using Cloudfront with w3 total cache plugin, objects1.healkick.com as the bucket, and none of the CSS changes are coming through. For example, I updated the CSS for this permalink page
    http://www.healkick.com/members/admin/activity/63 to reflect the following:

    body.activity-permalink #header{
    position:relative;
    color:#fff;
    height:145px;
    background: #195E65 url(header.gif) repeat-x;
    }

    However, if you look at the page through firebug, you will see that the CSS is not coming through and it’s still displaying the following property:
    body.activity-permalink #header{
    height:65px;
    }
    I even downloaded the uploaded CSS file from S3 directly and the changes are reflected there. The change was made 2 days ago, and all caches have been emptied multiple times.

    Ideas anyone?

  • Profile picture of Brandon Allen Brandon Allen said 1 year ago:

    The css appears as you want on my end.

  • Profile picture of mojoey mojoey said 1 year ago:

    I fixed the issue by sending an invalidation request to the object using cloudberry.