You develop a new Azure Web App that uses multiple Azure blobs and static content. The Web App uses a large number of JavaScript files and cascading style sheets. Some of these files contain references to other files. Users are geographically dispersed.
You need to minimize the time to load individual pages.
What should you do?
Click on the arrows to vote for the correct answer
A. B. C. D. E.B
To minimize the time to load individual pages of the new Azure Web App, the following options can be considered:
A. Migrate the Web App to Azure Service Fabric: Azure Service Fabric is a distributed systems platform that makes it easy to package, deploy, and manage scalable and reliable microservices and containers. It can help in improving the scalability and reliability of the application. However, it may not be the best option for optimizing the time to load individual pages.
B. Use an Azure Content Delivery Network (CDN): This option involves using Azure CDN to cache the static content of the Web App, such as JavaScript files and cascading style sheets, and serve it from the nearest CDN node to the user. This can help in reducing the latency and improving the speed of the application.
C. Implement an Azure Redis Cache: This option involves using Azure Redis Cache to cache the data that is frequently accessed by the Web App. This can help in reducing the latency and improving the speed of the application. However, it may not be the best option for optimizing the time to load individual pages.
D. Create a services layer by using an Azure-hosted ASP.NET web API: This option involves creating a services layer using an Azure-hosted ASP.NET web API to serve the data to the Web App. This can help in reducing the payload and improving the speed of the application. However, it may not be the best option for optimizing the time to load individual pages.
E. Enable the Always On feature of the Web App: This option involves enabling the Always On feature of the Web App to keep the application warm and prevent it from being shut down due to inactivity. This can help in reducing the time it takes to load the application for the first time.
Out of all the given options, option B (Use an Azure Content Delivery Network (CDN)) is the best option for minimizing the time to load individual pages of the new Azure Web App. By using Azure CDN, the static content of the Web App can be cached and served from the nearest CDN node to the user, which can help in reducing the latency and improving the speed of the application.