0% found this document useful (0 votes)
78 views1 page

HTTP Decision Diagram

1. This document presents an activity diagram for cache retrieval resolution given HTTP methods and headers. It describes a process with semantic callbacks. 2. The diagram shows steps to check if the storage has a URI match, if the method is cacheable, if the storage has matching headers, and if the cache control or storage have no cache directives. 3. If the storage is fresh, it will pass through, otherwise it will revalidate or retrieve from the origin server.

Uploaded by

monsterspy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
78 views1 page

HTTP Decision Diagram

1. This document presents an activity diagram for cache retrieval resolution given HTTP methods and headers. It describes a process with semantic callbacks. 2. The diagram shows steps to check if the storage has a URI match, if the method is cacheable, if the storage has matching headers, and if the cache control or storage have no cache directives. 3. If the storage is fresh, it will pass through, otherwise it will revalidate or retrieve from the origin server.

Uploaded by

monsterspy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

A B C

HTTP Decision Diagram - Cache Retrieve v1.0.201410


An activity diagram to describe the resolution of cache retrieval, given various methods and headers, implemented via
semantical callbacks.
01 01

storage has uri match


02 B2 02

is method cacheable
03 B3 03

storage has headers match


04 B4 04

cache control has no cache directive


05 B5 05

storage has no cache directive


06 1 REVALIDATE B6 06

storage is fresh
07 B7 0 PASS 07

08 2 RETRIEVE 08

last
09 B9 09

10 10

A B C

You might also like