Cache:...rategy(3pm)

πŸ“¦
version 2.11 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

okay so this is the page for Cache::RemovalStrategy β€” it lives in User Contributed Perl Documentation, and the header up top is literally just the manual name Cache:...rategy(3pm) twice with that docs label squished in the middle. no cap. let's get into it πŸ’…


✨ NAME ✨

Cache::RemovalStrategy β€” the abstract Removal Strategy interface for a Cache. yes bestie, abstract, meaning it's the blueprint, the vibe, the concept, not the thing you instantiate directly. it's giving interface energy πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

literally nothing here. the original page has this heading and then… silence. a whole heading with zero words under it. iconic of it honestly. so if you were hoping for a big juicy description, that's it, that's the section. moving on 🫢


🌸 METHODS 🌸

  • $r->remove_size( $cache, $size ) β€” when you call this, it removes entries from the cache that total at least $size in size. like, it keeps yeeting stuff out until the amount it's freed up is >= $size. that's the whole job. that's the assignment, and it ate. πŸ’–

πŸ”₯ SEE ALSO πŸ”₯

  • Cache β€” go read that one too, bestie, it's the whole reason this interface exists ✨

πŸ‘‘ AUTHOR πŸ‘‘

  • Chris Leishman <chris@leishman.org>
  • Based on work by DeWitt Clinton <dewitt@unto.net>

two absolute legends fr fr 🫢


  • Copyright (C) 2003-2006 Chris Leishman. All Rights Reserved.
this module is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either expressed or implied. so like, no promises, bestie, none, zero, nada 😭
  • This program is free software; you can redistribute or modify it under the same terms as Perl itself.
  • $Id: RemovalStrategy.pm,v 1.4 2006/01/31 15:23:58 caleishm Exp $

and that's the whole page, you're so welcome πŸ’œ it shipped as part of perl v5.34.0, dated 2022-06-09, sitting pretty in User Contributed Perl Documentation under the title Cache:...rategy(3pm). slay, go forth and remove some cache entries responsibly 🌈⭐

πŸ“¦ where this page comes from