The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Mojolicious::Plugin::Renderer::WithoutCache::Cache - Mojo::Cache that doesn't cache

VERSION

Version 0.04

SYNOPSIS

You probably don't want to use this directly.

    my $cache = Mojolicious::Plugin::Renderer::WithoutCache::Cache->new;
    # this cache does nothing

DESCRIPTION

A cache object that's compatible to Mojo::Cache but does nothing. It does not save or return any values. It's always empty.

METHODS

get

Does nothing. Returns undef.

set

Does nothing. Returns $self so chaining is possible.

max_keys

Always returns zero. Can't be set. We don't want any keys.

AUTHOR

simbabque, <simbabque at cpan.org>

BUGS

Please report any bugs or feature requests through an issue on github at https://github.com/simbabque/Mojolicious-Plugin-Renderer-WithoutCache/issues.

LICENSE

Copyright (C) simbabque.

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