|
NAMECatalyst::Plugin::Static - DEPRECATED - Serve static files with Catalyst SYNOPSIS use Catalyst 'Static';
# let File::MMagic determine the content type
$c->serve_static;
# or specify explicitly if you know better
$c->serve_static('text/css');
DESCRIPTIONServe static files from config->{root}. You probably want to use use Catalyst::Plugin::Static::Simple rather than this module. METHODS
SEE ALSOCatalyst. CAVEATSThis module is not as optimized for static files as a normal web server, and is most useful for stand alone operation and development. AUTHORSebastian Riedel, "sri@cpan.org" Christian Hansen <ch@ngmedia.com> Marcus Ramberg <mramberg@cpan.org> THANK YOUTorsten Seemann and all the others who've helped. COPYRIGHTThis program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
|