Define `cdnUrl` on demand during the first render.