logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Email::MIME::CreateHTML::Resolver::Cached - wraps caching around a resource resolver

Author

       Tony Hennessy, Simon Flack and John Alden with additional contributions by Ricardo Signes <rjbs@cpan.org>
       and Henry Van Styn <vanstyn@cpan.org>

Description

       This is used by Email::MIME::CreateHTML to load resources.

Methods

       $o = new Email::MIME::CreateHTML::Resolver::Cached(\%args)
           %args can contain:

           base
               Base URI to resolve URIs passed to get_resource.

           object_cache (mandatory)
               A cache object

           resolver (mandatory)
               Another resolver to apply caching to

       ($content,$filename,$mimetype,$xfer_encoding) = $o->get_resource($uri)

Name

       Email::MIME::CreateHTML::Resolver::Cached - wraps caching around a resource resolver

Synopsis

               my $o = new Email::MIME::CreateHTML::Resolver::Cached(\%args)
               my ($content,$filename,$mimetype,$xfer_encoding) = $o->get_resource($uri)

See Also