Hi Roop G,
I agree with your observation that enabling direct communication between the user and the CDN is essential. Additionally, it is beneficial and recommended to establish a connection between the CDN and the web server when designing a newsfeed system. While the web server handles the dynamic generation of newsfeed pages, offloading static assets such as images, CSS, JavaScript files, and other associated resources to the CDN can be advantageous. Configuring the CDN to cache these static resources allows subsequent requests for the same content to be efficiently served directly from the CDN’s edge servers. This approach helps alleviate the load on the web server and enhances overall response times, contributing to an optimized user experience.
Considering your feedback, we have taken the necessary steps to incorporate your suggested point and make appropriate changes to the lesson.
Thank you for your feedback.