Mojolicious::Plugin::StaticCompressor::File
This is internal package that manipulate for single file.
Please see POD for Mojolicious::Plugin::StaticCompressor.
https://github.com/mugifly/p5-Mojolicious-Plugin-StaticCompressor/blob/master/README.pod
Initialize a instance for single file.
Get a cache key of the file. (If necessary, generate it.)
Get the processed content of the file. (Check for updates of source files. And if necessary, update cache.)
Get te updated_at (epoch seconds) from of the file. (Check for updates of source files. And if necessary, update cache.)
Get a path of the source file.
Mojolicious::Plugin::StaticCompressor ( https://github.com/mugifly/p5-Mojolicious-Plugin-StaticCompressor )
To install Mojolicious::Plugin::StaticCompressor, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::StaticCompressor
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::StaticCompressor
For more information on module installation, please visit the detailed CPAN module installation guide.