# Generated by mscgen_js - https://sverweij.github.io/mscgen_js
msc {
# options
hscale="1.5";
# entities
c [label="Client", textbgcolor="lime"],
rails [label="Rails", textbgcolor="cyan"],
etag [label="EtagCaching", textbgcolor="orange"],
redis [label="Redis", textbgcolor="white"];
# arcs
c => rails [label="GET /projects/5/pipelines"];
rails => etag [label="GET /projects/5/pipelines"];
etag => redis [label="read(key = 'GET <Etag>')"];
redis => etag [label="cache hit", linecolor="green", textcolor="green"];
|||;
etag => c [label="304 Not Modified", linecolor="blue", textcolor="blue"];
}ClientRailsEtagCachingRedisGET /projects/5/pipelinesGET /projects/5/pipelinesread(key = 'GET <Etag>')cache hit304 Not Modified