++ed by:
1 non-PAUSE user
Author image Михаил Че
and 1 contributors

Доброго всем

¡ ¡ ¡ ALL GLORY TO GLORIA ! ! !

NAME

Mojolicious::Plugin::AssetPack::Pipe::CombineFile - Store combined and gzipped asset to cache file instead of memory.

SYNOPSIS

  $app->plugin('AssetPack::Che' => {
          pipes => [qw(Sass Css JavaScript CombineFile)],
          CombineFile => { gzip => {min_size => 1000},}, # pipe options
          process => [
            ['foo.html'=>qw(templates/foo.html templates/bar.html)],
            ...,
          ],
        });

CONFIG

CombineFile determine config for this pipe module. Hashref keys:

gzip - hashref options.

ROUTE

/assets/*topic will auto place.

Get combined asset by url

  <scheme>//<host>/assets/foo.html

SEE ALSO

Mojolicious::Plugin::AssetPack::Che

AUTHOR

Михаил Че (Mikhail Che), <mche[-at-]cpan.org>

BUGS / CONTRIBUTING

Please report any bugs or feature requests at https://github.com/mche/Mojolicious-Plugin-AssetPack-Che/issues. Pull requests also welcome.

COPYRIGHT

Copyright 2016-2020 Mikhail Che.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.