Handling CDN Stage #563
auniverseaway
started this conversation in
Ideas
Replies: 1 comment 6 replies
-
the so, i think it would be easier with the current setup, if you introduced a |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Challenge
Historically, we have said:
Note: Akamai Stage URLs point to "staged" content (i.e. hlx.page)
Note: Akamai Prod URLs point to "prod" content (i.e. hlx.live)
In both scenarios, we point to the "main" branch which is considered prod / live.
The wisdom was, "keeping two branches in sync is a pain. Have both stage and prod point to your main branch." Everyone merges into main, and you can test your changes in your branch on hlx.page or hlx.live.
I think this is wrong going forward despite knowing it will cause additional QE and dev overhead. Why?
If a feature is built in milo, and an engineer points to
/my-file.js
or/my-asset.svg
there's not a great way to cover every scenario where something would work onhlx.(page|live)
and not onwww.adobe.com
. In both these scenarios, because the files references are not in/libs
they will not be available on Akamai.Additionally, there are not good methods (for now) to do
.html
testing... really, any testing that would maybe be impacted by the CDN.My proposal
There are two changes here:
I think this solves a couple challenges we have faced:
hlx.page
is going to require authentication which means Akamai should no longer point tohlx.page
.Who this impacts
Mostly engineers and QEs. The way we validate code changes will change. The person who is on the hook to verify a PR would now be responsible for more tasks:
main
.There's also the tooling aspect for Nala that would need to be handled. We are currently doing prod and PRs + hlx.live... we'd want to expand into stage as well... which would require a CI platform add.
Beta Was this translation helpful? Give feedback.
All reactions