perl-Mojolicious-Plugin-SessionCompress-0.03-alt1.noarch.rpm


Advertisement

Description

perl-Mojolicious-Plugin-SessionCompress - Session serialization and compression plugin for Mojolicious

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Mojolicious-Plugin-SessionCompress
Package version 0.03
Package release alt1
Package architecture noarch
Package type rpm
Installed size 7.21 KB
Download size 7.21 KB
Official Mirror ftp.altlinux.org
plugin 'SessionCompress';
use Compress::Zlib qw(deflateInit inflateInit Z_STREAM_END);
use Data::Dumper 'Dumper';
$Data::Dumper::Terse = 1;
plugin session_compress => {
compress => sub {
my $string = shift;
my $d = deflateInit(-Level => 1, -memLevel => 4, -WindowBits => -15);
return $d->deflate($string) . $d->flush;
},
decompress => sub {
my $string = $_[0];
my $d = inflateInit(-WindowBits => -15);
my ($inflated, $status) = $d->inflate($string);
return $_[0] if $status != Z_STREAM_END || length($inflated) <= 1;
return $inflated;
},
serialize => sub {
my $hashref = shift;
return Dumper($hashref);
},
deserialize => sub {
my $string = shift;
return eval $string;
},
min_size => 100
};

Alternatives

Package Version Architecture Repository
perl-Mojolicious-Plugin-SessionCompress - - -

Requires

Name Value
/usr/share/perl5 -
perl(Compress/Zlib.pm) -
perl(Mojo/Base.pm) -
perl(Mojo/JSON.pm) -
perl(Mojo/Util.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Mojolicious/Plugin/SessionCompress.pm) = 0.030
perl-Mojolicious-Plugin-SessionCompress = 0.03-alt1

Download

Type URL
Binary Package perl-Mojolicious-Plugin-SessionCompress-0.03-alt1.noarch.rpm
Source Package perl-Mojolicious-Plugin-SessionCompress-0.03-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Mojolicious-Plugin-SessionCompress rpm package:
    # sudo apt-get install perl-Mojolicious-Plugin-SessionCompress

Files

Path
/usr/share/doc/perl-Mojolicious-Plugin-SessionCompress-0.03/Changes
/usr/share/doc/perl-Mojolicious-Plugin-SessionCompress-0.03/README.md
/usr/share/perl5/Mojolicious/
/usr/share/perl5/Mojolicious/Plugin/SessionCompress.pm

See Also

Package Description
perl-Mojolicious-Plugin-SessionStorage-0.1.5-alt1.noarch.rpm session data store plugin for Mojolicious
perl-Mojolicious-Plugin-SessionStore-0.05-alt1.noarch.rpm session data store plugin for Mojolicious
perl-Mojolicious-Plugin-Sessions3S-0.004-alt1.noarch.rpm Manage Sessions Storage, State and Sid generation in Mojolicious
perl-Mojolicious-Plugin-SetUserGroup-0.005-alt1.noarch.rpm Mojolicious plugin to set unprivileged credentials
perl-Mojolicious-Plugin-ShareHelpers-0.7-alt1.noarch.rpm perl module Mojolicious-Plugin-ShareHelpers
perl-Mojolicious-Plugin-Shotwell-0.05-alt2.noarch.rpm unknown
perl-Mojolicious-Plugin-SimpleAuthorization-0.02-alt1.noarch.rpm Simple role-based authorization
perl-Mojolicious-Plugin-SimpleSession-0.01-alt1.noarch.rpm Exceedingly Simple Mojolicious Sessions
perl-Mojolicious-Plugin-SimpleSlides-0.06-alt1.noarch.rpm Create a presentation using Mojolicious
perl-Mojolicious-Plugin-SizeLimit-0.005-alt1.noarch.rpm Terminate workers that grow too large
perl-Mojolicious-Plugin-SpectreCss-0.01-alt1.noarch.rpm Mojolicious Plugin
perl-Mojolicious-Plugin-Sprite-0.01-alt1.noarch.rpm let you easy introduce and maintain CSS sprites in your web-site
perl-Mojolicious-Plugin-SslAuth-0.08-alt1.noarch.rpm SSL client certificate auth helper
perl-Mojolicious-Plugin-StaticAttachment-0.003-alt1.noarch.rpm Add 'Content-Disposition' header for specified statics
perl-Mojolicious-Plugin-StaticCache-0.02-alt1.noarch.rpm Mojolicious::Plugin::StaticCache - Mojolicious Plugin which add a Control-Cache header to each stat
Advertisement
Advertisement