This problem and the next two concern web browsers and HTTP. (a) A browser wishe
ID: 3888035 • Letter: T
Question
This problem and the next two concern web browsers and HTTP. (a) A browser wishes to download the www.amazon.com homepage at URL www.amazon.comindex.html. State an HTTP request message sufficient to induce this download. (b) Once www.amazon.com downloads this base page, it typically populates the page with objects tailored to the requesting browser (e.g., personalized purchase recommendations). Briefly explain how the HTTP feature that enables this personalization works. What is the main security vulnerability of this feature? (c) Suppose that you work for a company that has just begun selling Hawkeye merchandise on www.amazon.com. Due to the resulting spike in inquiries and orders (most originating from amazon's servers) your company's ISP connection becomes congested. To help reduce this congestion you propose use of a web cache. Ideally where should this cache be located? Can all of your site's web content be cached? Briefly explain. (d) Explain the role played by "conditional GETs" in your web caching solution. How are the conditional GETs initiated? What header must be present in your company server's response to all GET requests if your web caching solution is to work? (e) What role does the HTTP "Host: " header play in web caching?Explanation / Answer
Answer:
(A) Request message of HTTP is quiet simple and doe this homepage the request message will be
(B) Personalize is one of the most important things, which plays a vital role in user exeperience. The main goal of personalization is to show the contnet and functionality according to the user specific need and intrests with no effort from the user.
Two types of personalization are:
In amazon.com personalization will be according to offers which are based on user past purchases and broswer behaviors.
(C) Cache is stored on the system of the user on the CPU chip. cache is the frequent data or web data which is used data requlrly. Cache is used because due to cache those frequent data stored on your system it is faster access to those data
No, all sites web content is not cached. Only the most frequent data of the cache is stored and the web pages of your website which user has visited.
(D) A conditional GET is an HTTP GET request that may return an HTTP 304 response. An HTTP 304 response indicates that the resource has not been modified since the previous GET, and so the resource is not returned to the client in such a response.
There are mainly two approaches to get conditional GET:
Last-Modified and ETag header should be present in the server responce.
(E) Host play most important role in web caching because it has to create the cache data which will be stored on user system in such a way that all the website heavy data should store in the user system. so that next time user open websie it won't take that much time to load all the pages of the website.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.