Apache...cached(3pm)
π Apache::Session::Memcached π
okay bestie, listen. this is the page for Apache::Session::Memcached, and it's living under the User Contributed Perl Documentation umbrella, section 3pm. yes it's a Perl module page. yes it's giving very "written in 2004" energy. and yes, we're gonna make it make sense. π«Ά
β¨ NAME β¨
Apache::Session::Memcached β stores persistent data using memcached (the memory cache daemon) as your Apache::Session storage backend. periodt.
β¨ SYNOPSIS β¨
here's the vibe, literally copy-paste core:
use Apache::Session::Memcached;
tie %session, 'Apache::Session::Memcached', $sid, {
Servers => '10.0.0.1:20000 10.0.0.2:20000',
NoRehash => 1,
Readonly => 0,
Debug => 1,
CompressThreshold => 10_000
};
likeβ¦ look at her. tying a hash to a memcached-backed session. iconic. π
β¨ DESCRIPTION β¨
so Apache::Session::Memcached is the bridge between Apache::Session and memcached, which is a distributed memory cache daemon. two icons, one collab. π€
if you want more tea about memcached itself, the info lives at <http://www.danga.com/memcached>.
what this module actually does: it gives you a way to use Cache::Memcached (that's the memcached Perl API, iykyk) as your Apache::Session storage implementation. that's it. that's the whole job. and she does it. π
β¨ INSTALLATION β¨
to install and use this package you're gonna need Perl version 5.005 or better. no ancient Perl, bestie, we're not doing that.
prerequisites π
Apache::Session >= 1.54Cache::Memcached >= 1.14
installation, as usual π¦
%> perl Makefile.PL
%> make
%> make test
%> make install
β οΈ note, and this one's important: for live tests, you must run at least a memcached daemon. also you could need to edit the t/CONFIG file, in order to set the correct parameters used for testing. don't skip this and then act surprised, ok? π
β¨ SEE ALSO β¨
go read these too, they're all in the family:
Apache::Session::Store::MemcachedApache::SessionApache::Session::FlexCache::Memcachedmemcached
β¨ AUTHOR β¨
Enrico Sorcinelli <enrico at sorcinelli> β ty bestie for your service π«Ά
β¨ COPYRIGHT AND LICENSE β¨
Copyright (C) 2004 by Enrico Sorcinelli
this library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.1 or, at your option, any later version of Perl 5 you may have available.
and that's the whole page, no cap. this one was rendered by perl v5.30.3 and dated 2020-09-06, and the manual title is Apache...cached(3pm). slay, go tie some sessions πβ¨πΈ
π¦ where this page comes from
- debian bookworm: libapache-session-memcached-perl 0.03-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libapache-session-memcached-perl 0.03-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libapache-session-memcached-perl 0.03-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libapache-session-memcached-perl 0.03-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libapache-session-memcached-perl 0.03-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libapache-session-memcached-perl 0.03-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms