- Challenge 4 - Run the app on Azure should be done successfully.
In this simple challenge you will leverage Azure CDN for serving static content.
A content delivery network (CDN) is a distributed network of servers that can efficiently deliver web content to users. CDNs store cached content on edge servers in point-of-presence (POP) locations that are close to end users, to minimize latency. Read more.
- Update the app's HTML to use CDN for static content (CSS and JS files) rather than serving it directly from the host.
- For this challenge you will need to update the HTML code of your application. Use an editor like VS Code or Notepad. If you're working in Azure Cloud Shell, you can invoke the Cloud Shell editor. Learn more aboug it here.
- The Rock/Paper/Scissors and Boom images on the home page of the app are served from CDN.
- Verify that your cached static content is not downloaded more than once during the cache duration. You can verify this by inspecting the request with Developer Tools in most modern browsers.
- In GitHub, make sure you documented the different commands you have used to update or provision your infrastructure. It could be in a
.md
file or in.sh
file. You will complete this script as you are moving forward with the further challenges. - In Azure DevOps (Boards), from the Boards view, you could now drag and drop the user story associated to this Challenge to the
Resolved
orClosed
column, congrats! ;)