The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Archive::Har::Entry::Cache - Represents the cache for a single request/response pair inside the HTTP Archive

VERSION

Version 0.04

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