Question

Need help to answer these two questions please Describe how Web caching can reduce the delay...

Need help to answer these two questions please

Describe how Web caching can reduce the delay in receiving a requested object. Will Web caching reduce the delay for all objects requested by a user or for only some of the objects? Why?

What is the purpose of the HTTP “COOKIE:” field? Are the values in the HTTP message’s cookie field stored at the client or server or both? Explain briefly.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1) Web Caching

The process of storing dynamically generated data for reuse and leaving data close to end user is known as web caching

In HTTP a client can send single request to server, in other hand a pipelining allow clients to send multiple requests to server over TCP but not always

Web Caching can reduce time required to get reply for request that client send ‘s. The server closer to client stores the object that client requested. If server has object stored that client requested, server will send stored object directly and delay will be reduced. If requested object doesn’t present at server the server forward the requested object to server’s origin and wait for reply which causes delay. So we can conclude that for all client requested object delay can’t be reduced as it depends on if server’s origin has reply or not

2) HTTP cookie

HTTP cookies are known as web cookies are messages given to browser by web server. Browser stores message in text file and that data will be used by browser to identify the users and prepare customized web pages. For example when you are filling your personal information that data will be stored in cookies, next time when you open the same page the browser send cookie data to server

Cookie parameters: Cookie name, cookie value, cookie expiration date, and path to which cookies are valid for web pages.

Let us consider an example, if a client uses same cookie every time   he opens a website, that website will track all the actions of client with that cookie. Hence we can conclude that HTTP messages cookie values will be stored both at client and server

Add a comment
Know the answer?
Add Answer to:
Need help to answer these two questions please Describe how Web caching can reduce the delay...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Can someone answer these 4 questions. please if your not sure don't answer it. thanx Which...

    Can someone answer these 4 questions. please if your not sure don't answer it. thanx Which of the following statements is not true? Select one: The effect of pytest's parametrize decorator is to cause a single test method to execute multiple times with different values for its arguments. Using Flask's test client, it is possible to send HTTP requests to a Flask Web application and to inspect corresponding responses. Unit testing means testing two or more dependent software components as...

  • on calculations can i see how did the expect come to the solution ,all the workout...

    on calculations can i see how did the expect come to the solution ,all the workout should be included QUESTION 1 A file of size F = 8 Gbits needs to be distributed to10 peers. Suppose the server has an upload rate of u = 68 Mbps, and that the 10 peers have upload rates of: u1 = 20 Mbps, u2 = 22 Mbps, u3 = 12 Mbps, u4 = 19 Mbps, u5 = 25 Mbps, u6 = 24 Mbps,...

  • Need Help!!! Questions Provide concise answers (couple of sentences) to each of following questions using complete...

    Need Help!!! Questions Provide concise answers (couple of sentences) to each of following questions using complete sentences and referring to the data collected. Questions 1 and 3 ask you to show your work in calculating buoyancy and stability values for select objects. You still need to do these calculations for the other objects and enter the results in the tables above. Experiment 1- Buoyant force on submerged objects 1. Show an example calculation for how you determined the buoyant forces...

  • ND-OF-CHAPTER QUESTIONS Thought Questions 1. How do you think TCP would handle the problem if an ...

    ND-OF-CHAPTER QUESTIONS Thought Questions 1. How do you think TCP would handle the problem if an acknowledgment were lost, so that the sender retrans- mitted the unacknowledged TCP seg- ment, therefore causing the receiving transport process to receive the same segment twice? 2-2. a) Compute the minimum number of TCP segments required to open a con- nection, send an HTTP request and response message, and close the con- nection. Justify this number by creating a table showing each message and...

  • Can some please help me to answer these two questions. Write a program in Java create...

    Can some please help me to answer these two questions. Write a program in Java create a class diagram fragment with two classes: User and Patient. Patient is a sub-class of User. User has a method getName(), which is both over-loaded and over-ridden in the subclass In Java write an abstract class called User. User has one abstract method called authenticate, which takes two string parameters. Write a concrete sub-class of User called Administrator with an implementation of the authenticate...

  • I need help with this questions on creating a chart like the one shown below please...

    I need help with this questions on creating a chart like the one shown below please Good Buy, Inc. (a fictitious company) sells a variety of consumer pro- ducts through its Web site, good-buy.com. Good Buy's IT infrastructure consists of a front-end Web server that interacts with customers and a back-end ERP system that manages the inventory and performs other typical ERP functions. The sales order process begins when a customer logs on to the good-buy.com Web site. The customer...

  • need help to answer this following questions 261 in class, we used a Distributed Hash Table...

    need help to answer this following questions 261 in class, we used a Distributed Hash Table (DHT) in conjunction with which architectural model? (a) Client-Server (b) Event-Drive (c) Model-View-Controller (d) Peer-to-peer (e) Pipe-Filter (27) In addition to caching, which technique(s) is/are used for domain name lookup authentication resolution (AR), iterative resolution (IR), recursive resolution (RR) (a) AR (b) AR, IR (c) AR, RR (d) IR RR (e) AR, IR, RR [28] Which comparison operators is used in JavaScript to check...

  • Need help, please show work 2) Answer the following questions on the basis of the table...

    Need help, please show work 2) Answer the following questions on the basis of the table shown below. as is type B labor, and VMPBx and VMPBy are the industry values of the marginal products of this type of labor in producing x and y, the only two goods in the economy. VMPBx $18 15 12 9 6 3 VMPBy $23 19 15 1 2 4 6 15 a. Explain why the VMPs in the table decline as more units...

  • I'm a little crunched for time and need some help with these first two questions. Thank...

    I'm a little crunched for time and need some help with these first two questions. Thank you! Question 1.) Write a Java program that reads in sequence of integers from the user until user enters a negative number and stores them in an Integer ArrayList. Once read, display a bar chart based on the values stored in the ArrayList. For example, if the user inputs 2, 5, 3, 8, 4, and -1, then your program should display the bar chart...

  • Need help with Java for Fraction exercise

    Add another public method called add to your Fraction class. This method adds another fraction to the ‘calling object’. Thus, the method will take a Fraction class object as a parameter, add this parameter fraction to the calling object (fraction), and return a Fraction object as a result. HINT: We can use cross multiplication to determine the numerator of the resultant Fraction. The denominator of the resultant Fraction is simply the multiplication of the denominators of the two other Fractions.Add...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT