From f492c22a3b4e1bf01988958508c7eadc44a76679 Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Mon, 29 Jan 2024 12:15:02 -0400 Subject: [PATCH] 2024-01-29 12:15:02 --- .obsidian/workspace.json | 10 +++++----- UNB/Year 4/Semester 2/CS3873/2024-01-29.md | 17 +++++++++++++++++ 2 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 UNB/Year 4/Semester 2/CS3873/2024-01-29.md diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index 6877334..bde6b27 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -13,7 +13,7 @@ "state": { "type": "markdown", "state": { - "file": "UNB/Year 4/Semester 2/STAT2593/2024-01-29.md", + "file": "UNB/Year 4/Semester 2/CS3873/2024-01-29.md", "mode": "source", "source": false } @@ -85,7 +85,7 @@ "state": { "type": "backlink", "state": { - "file": "UNB/Year 4/Semester 2/STAT2593/2024-01-29.md", + "file": "UNB/Year 4/Semester 2/CS3873/2024-01-29.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -102,7 +102,7 @@ "state": { "type": "outgoing-link", "state": { - "file": "UNB/Year 4/Semester 2/STAT2593/2024-01-29.md", + "file": "UNB/Year 4/Semester 2/CS3873/2024-01-29.md", "linksCollapsed": false, "unlinkedCollapsed": true } @@ -125,7 +125,7 @@ "state": { "type": "outline", "state": { - "file": "UNB/Year 4/Semester 2/STAT2593/2024-01-29.md" + "file": "UNB/Year 4/Semester 2/CS3873/2024-01-29.md" } } }, @@ -159,6 +159,7 @@ "active": "4512014e685326f2", "lastOpenFiles": [ "UNB/Year 4/Semester 2/STAT2593/2024-01-29.md", + "UNB/Year 4/Semester 2/CS3873/2024-01-29.md", "UNB/Year 4/Semester 2/STAT2593/2024-01-26.md", "UNB/Year 4/Semester 2/CS2333/2024-01-24.md", "UNB/Year 4/Semester 2/CS3873/2024-01-26.md", @@ -190,7 +191,6 @@ "Semester 2/CS2333", "Semester 1/CS3418/Exam Studying.md", "Semester 2/CS3873", - "Semester 1/CS3418/11-27-2023.md", "Semester 1/CS2418", "Semester 1/CS3418" ] diff --git a/UNB/Year 4/Semester 2/CS3873/2024-01-29.md b/UNB/Year 4/Semester 2/CS3873/2024-01-29.md new file mode 100644 index 0000000..54f6032 --- /dev/null +++ b/UNB/Year 4/Semester 2/CS3873/2024-01-29.md @@ -0,0 +1,17 @@ +Lecture Topic: HTTP + +# Conditional Get +## Last-Modified +You can check the Last-Modified header to only get contents if the contents are newer than the contents of the cache +## ETag +Use the hash of an object to check for modification to solve cache invalidation problem + +## TCP and HTTP +HTTP runs on top of TCP +- Client initiates TCP request to server +- Server accepts TCP connection +- Clint confirms request +- Three way handshake + +## Non-persistent HTTP +RTT = Round trip time