Route root relative artifacts & assets through CDN (vanity CDN URLs) #9
timkelty
started this conversation in
Feature Requests & Enhancements
Replies: 1 comment
-
Worth noting that this has been requested for assets as well, not just artifacts. And that a potential solution could be a reserved subdomain ( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be nice if requests to things like
/img/foo.png
could "just work", without necessarily having to use run them throughartifactUrl
. This should be pretty achievable, but I think it would have to be tied to additional settings incraft-cloud.yaml
.For example, you may have an actual Craft controller at
/foo/bar.pdf
, but so we can't just assume anything that looks like a file is an artifact. Perhaps we could use globs:Beta Was this translation helpful? Give feedback.
All reactions