-
-
23 Apr 2018 13:39:26 UTC
- Distribution: Mojolicious-Plugin-GzipStatic
- Module version: 0.04
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues
- Testers (519 / 0 / 0)
- Kwalitee
Bus factor: 1- 81.82% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (9.84KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- IO::Compress::Gzip
- Mojolicious
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Mojolicious::Plugin::GzipStatic - Mojolicious Plugin to compress the static files before serving them.
SYNOPSIS
# Mojolicious $self->plugin('GzipStatic'); # Mojolicious::Lite plugin 'GzipStatic';
DESCRIPTION
Mojolicious::Plugin::GzipStatic is a Mojolicious plugin to compress the static files before serving them.
See https://en.wikipedia.org/wiki/HTTP_compression and http://mojolicious.org/perldoc/Mojolicious/Guides/Rendering#Post-processing-dynamic-content.
METHODS
Mojolicious::Plugin::GzipStatic inherits all methods from Mojolicious::Plugin and implements the following new ones.
register
$plugin->register(Mojolicious->new);
Register plugin in Mojolicious application.
SEE ALSO
Mojolicious, Mojolicious::Guides, http://mojolicious.org, Mojolicious::Static, IO::Compress::Gzip.
Module Install Instructions
To install Mojolicious::Plugin::GzipStatic, copy and paste the appropriate command in to your terminal.
cpanm Mojolicious::Plugin::GzipStatic
perl -MCPAN -e shell install Mojolicious::Plugin::GzipStatic
For more information on module installation, please visit the detailed CPAN module installation guide.