Chris Pollett > Students >
Kukreti

    ( Print View )

    [Bio]

    [CS297/298 Blog]

    [CS297 Proposal]

    [Reading-The Internet Archive-PDF.]

    [Reading-Chapter 15 and 16 [Buttcher 10]-PDF.]

    [Reading-Chapter 13 [Buttcher 10]-PDF.]

    [Reading-Entity Tags-PDF.]

    [Deliverable 1]

    [Deliverable 2]

    [Deliverable 3]

    [Deliverable 4]

    [CS297 Report-PDF.]

    [CS298 Proposal]

    [CS298 Report-PDF]

    [CS298 Presentation-PDF]

    [CS298 Code]

    [Graduation Pic]

                          

























Deliverable 1

Description:

For deliverable 1, I modified Yioop!'s cache request and output code. The earlier version returned a "no cache" result when a cached version for a web page was not found for a given timestamp. The modified version searches for the first timestamp greater than the given timestamp for the cached version of the web page. If such a timestamp is found, the cached version of the page is displayed. If not, a "no cache" is returned which means that the cached version of the page was not found. The behavior of the modified cache control code is similar to that of the Wayback Machine as it searches for a snapshot of a web page taken at a timestamp nearest to the given timestamp.

Code:

Modified Cache Request and Output Code

Output ScreenShot