Perlan...:Cache(3pm)
β¨ NAME β¨
Perlanet::Trait::Cache β bestie, it caches your feeds with CHI π
(also, hi, this is the Perlan...:Cache(3pm) page, a User Contributed Perl Documentation moment, iykyk π)
πΈ SYNOPSIS πΈ
okay so literally all you do is this:
my $perlanet = Perlanet->new_with_traits(
traits => [ 'Perlanet::Trait::Cache' ]
);
$perlanet->run;
that's it. that's the whole vibe. slay. β¨
π DESCRIPTION π
so the way that this works is: every single time a page gets fetched, it gets cached first, through CHI. no cap. π«Ά
and why do we care? because it means you can cache pages to a local disk, for example, if the feed has not changed. like, if nothing's new, why are we out here re-fetching? we're not. we're chilling. main character energy fr fr. π
π ATTRIBUTES π
π¦ cache
the Chi cache object. that's the whole description bestie, it's literally just that. π
π AUTHOR π
Dave Cross, <dave@perlhacks.com> πΈ
π COPYRIGHT AND LICENSE π
Copyright (c) 2010 by Magnum Solutions Ltd.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available. π«Άβ¨
okay and that's the whole page, no notes π
sign-off time π β this was perl v5.36.0, dated 2023-02-21, and yeah that's the Perlan...:Cache(3pm) footer energy, periodt. πβπ§
π¦ where this page comes from
- debian bookworm: libperlanet-perl 2.2.1-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libperlanet-perl 2.2.1-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libperlanet-perl 2.2.1-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu questing: libperlanet-perl 2.2.1-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms