Forum

Thread tagged as: Question, Problem

S3 URL switch to CF does not update in front end

I am using S3 to upload all my images, and have been using https://s3.amazonaws.com/~~~FOLDERNAME~~~/ this works fine, but now i have acticated CloundFront for that folder so resources are served more quickly. When I switch the web_path to https://dfzasdfryt6wsj6f.cloudfront.net, front end still loads images from old s3.amazonaws.com URL. I thought if I switched web_path, it will switch all images from new URL.

any clue why that is not happening.

sawan ruparel

sawan ruparel 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Have you republished the content so that you're not using the old cached settings?

lol. that did the trick, didn't realize it was caching the URL too.

Thank you :-)