This work is produced by John Häggerud for the course Server-based Web Programming (1DV023/1DV523) at Linnaeus University.
All content in this work excluding photographs, icons, picture of course litterature and Linnaeus University logotype and symbol, is licensied under a
Creative Commons Attribution 4.0 International License.
If you change the content do not use the photographs, icons, picture of the course literature or Linnaeus University logotype and symbol in your new work!
At all times you must give credit to: ”Linnaeus university – Server-based Web Programming (1DV023)” with the link https://coursepress.lnu.se/kurs/serverbaserad-webbprogrammering/ and to the Creative Common-license above.
Internet Engineering Task Force (IETF) and the World Wide Web Consortium (W3C)
Verbs | Actions | |
---|---|---|
GET | Get data; search result | safe, idempotent |
POST | Create data | unsafe, not idempotent |
PUT | Update data | unsafe, idempotent |
PATCH | Partial update of resource | unsafe, not idempotent |
DELETE | Delete a resource | unsafe, idempotent |
HEAD | Just get headers | safe, idempotent |
OPTIONS | Check what the server can do | safe, idempotent |
Client to Server (Accept, Accept-encoding)
Server to client (Content-Type, Content-Encoding)
The ability to temporary store resources like HTML, images, css, script closer to the client to reduce traffic
expires:Wed, 30 Jan 2019 14:00:00 GMT
cache-control: public, max-age=86400
cache-control: private, max-age=0, no-cache
So why do we need HTTP/2?
Ilya Grigorik - https://www.youtube.com/watch?v=yURLTwZ3ehk