• Resolved Skrlance

    (@seanlance)


    Hi, I am using CloudFront as CDN for my website with FVM plugin enabled. When I keep CloudFront CDN domain for example something.cloudfront.net on CDN options, CSS breaks, js don’t works good and images don’t showup.

    Is there any proper way to sort that out?

Viewing 1 replies (of 1 total)
  • Plugin Author Raul P.

    (@alignak)

    First, you need to check if cloudfront is working as intended. There is usually a delay between reading the origin and serving it.

    When you enable that option, FVM rewrites the url inside the generated files to link to that domain, but if the cdn is returning an error for the images, you won’t see them.

    I recommend using another cdn, such as the free cloudflare.com plan or bunnycdn.com which don’t have the same problems as cloudfront.

    You would need to debug if the images and files are actually returning 200 OK on cloudfront… so please get a developer to look into what the cdn is doing.

Viewing 1 replies (of 1 total)
  • The topic ‘Breaks website on CDN Domain’ is closed to new replies.