The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mojolicious::Plugin::StaticCompressor::File

SYNOPSIS

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

METHODS

new ( ... )

Initialize a instance for single file.

get_key ( )

Get a cache key of the file. (If necessary, generate it.)

get_content ( )

Get the processed content of the file. (Check for updates of source files. And if necessary, update cache.)

get_updated_at ( )

Get te updated_at (epoch seconds) from of the file. (Check for updates of source files. And if necessary, update cache.)

get_raw_path ( )

Get a path of the source file.

SEE ALSO

Mojolicious::Plugin::StaticCompressor ( https://github.com/mugifly/p5-Mojolicious-Plugin-StaticCompressor )

COPYRIGHT AND LICENSE

Please see POD for Mojolicious::Plugin::StaticCompressor.

https://github.com/mugifly/p5-Mojolicious-Plugin-StaticCompressor/blob/master/README.pod