web applications basics

PPTX 16 sahifa 465,0 KB Bepul yuklash

Sahifa ko'rinishi (5 sahifa)

Pastga aylantiring 👇
1 / 16
web caching simple request international school of finance technology and science student: sharopova dilsora group: 22_ffd_06 teacher: m.munisxon simple request uploading form input post method: web page often includes form input input is uploaded to server in entity body url method: uses get method input is uploaded in url field of request line: www.somesite.com/animalsearch?monkeys&banana method types http/1.0 get post head asks server to leave requested object out of response http/1.1 get, post, head put uploads file in entity body to path specified in url field delete deletes file specified in the url field http response message status line (protocol status code status phrase) header lines data, e.g., requested html file data…………………. http response status codes 200 ok request succeeded, requested object later in this message 301 moved permanently requested object moved, new location specified later in this message (location:) 400 bad request request message not understood by server 404 not …
2 / 16
s cookie file amazon: 1678 ebay: 8734 cookie file ebay: 8734 cookie file amazon: 1678 ebay: 8734 one week later: cookies (continued) what cookies can bring: authorization shopping carts recommendations user session state (web e-mail) cookies and privacy: cookies permit sites to learn a lot about you you may supply name and e-mail to sites search engines use redirection & cookies to learn yet more advertising companies obtain info across sites aside do cookies compromise security? can it be used for authentication? web caches (proxy server) user sets browser: web accesses via cache browser sends all http requests to cache object in cache: cache returns object else cache requests object from origin server, then returns object to client goal: satisfy client request without involving origin server client proxy server client http request http request http response http response http request http response origin server origin server your web request may …
3 / 16
e caching example (cont) possible solution increase bandwidth of access link to, say, 10 mbps consequences utilization on lan = 15% utilization on access link = 15% total delay = internet delay + access delay + lan delay = 2 sec + msecs + msecs often a costly upgrade origin servers public internet institutional network 10 mbps lan 10 mbps access link institutional cache caching example (cont) install cache suppose hit rate is 0.4 consequence 40% requests will be satisfied almost immediately 60% requests satisfied by origin server utilization of access link reduced to 60%, resulting in negligible delays (say 10 msec) total avg delay = internet delay + access delay + lan delay = .6*(2.01) secs + milliseconds server: response contains no object if cached copy is up-to-date: http/1.0 304 not modified cache server http request msg if-modified-since: http response http/1.0 304 not modified object not modified http request …
4 / 16
web applications basics - Page 4
5 / 16
web applications basics - Page 5

Ko'proq o'qimoqchimisiz?

Barcha 16 sahifani Telegram orqali bepul yuklab oling.

To'liq faylni yuklab olish

"web applications basics" haqida

web caching simple request international school of finance technology and science student: sharopova dilsora group: 22_ffd_06 teacher: m.munisxon simple request uploading form input post method: web page often includes form input input is uploaded to server in entity body url method: uses get method input is uploaded in url field of request line: www.somesite.com/animalsearch?monkeys&banana method types http/1.0 get post head asks server to leave requested object out of response http/1.1 get, post, head put uploads file in entity body to path specified in url field delete deletes file specified in the url field http response message status line (protocol status code status phrase) header lines data, e.g., requested html file data…………………. http response status codes 200 ok request succeeded,...

Bu fayl PPTX formatida 16 sahifadan iborat (465,0 KB). "web applications basics"ni yuklab olish uchun chap tomondagi Telegram tugmasini bosing.

Teglar: web applications basics PPTX 16 sahifa Bepul yuklash Telegram