perl-FCGI-Buffer-0.11-alt1.noarch.rpm


Advertisement

Description

perl-FCGI-Buffer - Verify and Optimise FCGI Output

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-FCGI-Buffer
Package version 0.11
Package release alt1
Package architecture noarch
Package type rpm
Installed size 62.40 KB
Download size 62.40 KB
Official Mirror ftp.altlinux.org
FCGI::Buffer verifies the HTML that you produce by passing it through
`HTML::Lint'.
FCGI::Buffer optimises FCGI programs by compressing output to speed up
the transmission and by nearly seamlessly making use of client and
server caches.
To make use of client caches, that is to say to reduce needless calls
to your server asking for the same data:
use FCGI;
use FCGI::Buffer;
my $request = FCGI::Request();
while($request->FCGI::Accept() >= 0) {
my $buffer = FCGI::Buffer->new();
$buffer->init(
optimise_content => 1,
lint_content => 0,
);
_# ...
}
To also make use of server caches, that is to say to save regenerating
output when different clients ask you for the same data, you will need
to create a cache.
But that's simple:
use FCGI;
use CHI;
use FCGI::Buffer;
my $request = FCGI::Request();
while($request->FCGI::Accept() >= 0) {
my $buffer = FCGI::Buffer->new();
$buffer->init(
_    optimise_content => 1,
_    lint_content => 0,
_    cache => CHI->new(driver => 'File')
);
_if($buffer->is_cached()) {
_    # Nothing has changed - use the version in the cache
_    $request->Finish();
_    next;
_# ...
}
If you get errors about Wide characters in print it means that you've
forgotten to emit pure HTML on non-ascii characters.
See the HTML::Entities manpage.
As a hack work around you could also remove accents and the like by using
the Text::Unidecode manpage,
which works well but isn't really what you want.

Alternatives

Package Version Architecture Repository
perl-FCGI-Buffer - - -

Requires

Name Value
/usr/share/perl5 -
perl(CGI/Info.pm) >= 0.510
perl(Compress/Zlib.pm) -
perl(DBI.pm) -
perl(Digest/MD5.pm) -
perl(Encode.pm) -
perl(HTML/Lint.pm) -
perl(HTML/Packer.pm) >= 1.0
perl(HTTP/Date.pm) -
perl(HTTP/Status.pm) -
perl(IO/Compress/Brotli.pm) >= 0.003
perl(IO/String.pm) -
perl(Storable.pm) -
perl(Text/Diff.pm) -
perl(constant.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(FCGI/Buffer.pm) = 0.110
perl-FCGI-Buffer = 0.11-alt1

Download

Type URL
Binary Package perl-FCGI-Buffer-0.11-alt1.noarch.rpm
Source Package perl-FCGI-Buffer-0.11-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-FCGI-Buffer rpm package:
    # sudo apt-get install perl-FCGI-Buffer

Files

Path
/usr/share/doc/perl-FCGI-Buffer-0.11/Changes
/usr/share/doc/perl-FCGI-Buffer-0.11/README
/usr/share/doc/perl-FCGI-Buffer-0.11/README.md
/usr/share/doc/perl-FCGI-Buffer-0.11/ignore.txt
/usr/share/perl5/FCGI/Buffer.pm

See Also

Package Description
perl-FCGI-Daemon-0.20151226-alt1.noarch.rpm Perl-aware Fast CGI daemon for use with nginx web server
perl-FCGI-EV-Std-2.0.1-alt1.noarch.rpm Handler class to use with FCGI::EV
perl-FCGI-Engine-0.22-alt1.noarch.rpm A flexible engine for running FCGI-based applications
perl-FCGI-IIS-0.05-alt1.noarch.rpm FCGI wrapper for MS IIS FastCGI
perl-FCGI-ProcManager-Dynamic-0.8-alt1.noarch.rpm extension for FCGI::ProcManager, it can dynamically control number of work processes depending on t
perl-FCGI-ProcManager-MaxRequests-0.02-alt1_10.noarch.rpm Restrict max number of requests by each child
perl-FCGI-Restarter-0.12-alt1.noarch.rpm Restart FCGI process on the fly
perl-FCGI-Spawn-0.16.7-alt1.noarch.rpm FastCGI server for CGI-like applications multiprocessing
perl-FCGI-Spawn-scripts-0.16.7-alt1.noarch.rpm FCGI-Spawn scripts
perl-FFI-Me-0.01-alt1.noarch.rpm Turn foreign functions into perl functions or methods without writing XS
perl-FFI-Platypus-Lang-Fortran-0.09-alt1.noarch.rpm Documentation and tools for using Platypus with Fortran
perl-FFI-Platypus-Lang-Rust-0.04-alt1.noarch.rpm Documentation and tools for using Platypus with the Rust programming language
perl-FFMPEG-Effects-1.0.rev1-alt1.noarch.rpm PERL Routines To Simplify ffmpeg Video Filter Usage
perl-FFmpeg-Command-0.19-alt1.noarch.rpm A wrapper class for ffmpeg/avconv command line utility
perl-FFmpeg-Stream-Helper-0.1.1-alt1.noarch.rpm Helper for streaming and transcoding using ffmpeg
Advertisement
Advertisement