NAME
MVC::Neaf::X::Files - serve static content for Not Even A Framework.
SYNOPSIS
use MVC::Neaf;
MVC::Neaf->static( "/path/in/url" => "/local/path", %options );
DESCRIPTION
METHODS
new( %options )
%options may include:
buffer - buffer size for serving files.
cache_ttl - if given, files below the buffer size will be stored in memory for cache_ttl seconds. EXPERIMENTAL. Cache API is not yet established.
make_handler
Returns a Neaf-compatible hander sub.