NAME
Archive::Har::Entry::Cache - Represents the cache for a single request/response pair inside the HTTP Archive
VERSION
Version 0.03
SYNOPSIS
use Archive::Har();
my $http_archive_string = '"log": { "version": "1.1", .... ';
my $har = Archive::Har->new();
$har->string($http_archive_string);
foreach my $entry ($har->entries()) {
my $cache = $entry->cache();
my $before = $cache->beforeRequest();
my $after = $cache->afterRequest();
print "Comment: " . $cache->comment() . "\n";
}
SUBROUTINES/METHODS
beforeRequest
returns the state of the cache before the request
afterRequest
returns the state of the cache after the request
comment
returns the comment about the Entry