NAME

Terse::Static - Serve static resources

VERSION

Version 0.11

SYNOPSIS

package MyApp::View::Static;

use base 'Terse::View::Static::Memory';

1;

package MyApp::Controller::Static;

use base 'Terse::Controller::DelayedStatic';

1;

package MyApp::Controller::Web;

use base 'Terse::Controller';

sub web :get :delayed :view(static) :content_type(text/html);

1;
...

GET localhost/static/js/app.js
GET localhost/web

AUTHOR

LNATION, <email at lnation.org>

BUGS

Please report any bugs or feature requests to bug-terse-static at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Terse-Static. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Terse::Static

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

This software is Copyright (c) 2022 by LNATION.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)