craft-imageoptimize icon indicating copy to clipboard operation
craft-imageoptimize copied to clipboard

Changing main URL

Open jskrivanek opened this issue 1 year ago • 2 comments

Question

Is there a convenient way of changing the main URL of the optimized assets? We activated CloudFront with a new subdomain, changed everything on the asset settings in CraftCMS, but the generated URLs remain the same.

jskrivanek avatar May 22 '23 14:05 jskrivanek

I ended up force generating all the images from the CL as clearing the cache did not clear the entries optimized field in the DB.

JeanLucEsser avatar May 30 '23 12:05 JeanLucEsser

I plan to add alias support, which should make this type of thing easier -- but yes, force regenerating the images will work for now when this happens.

khalwat avatar Jun 02 '23 16:06 khalwat