NAME

Dancer2::Plugin::ContentCache::CacheEntry - A single retrieved entry from the content cache

VERSION

version 1.0000

SYNOPSIS

my $cache = retrieve_cache => $uuid;

if ( $cache ) {
   send_as $cache->data_format => $cache->data;
}

DESCRIPTION

Instances of this class are returned by the retrieve_cache keyword of Dancer2::Plugin::ContentCache. It is a simple, read-only Moo object; see "THE CACHE OBJECT" in Dancer2::Plugin::ContentCache for a description of each attribute.

ATTRIBUTES

uuid

data_format

data

created_dt

expiry_dt

metadata

SEE ALSO

AUTHOR

D Ruth Holloway <ruth@hiruthie.me>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by D Ruth Holloway.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.