Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add reference to Plack::App::File in Static middleware docs

  • Loading branch information...
commit da10dd8d9646f7a36d4cc15ac8ea37c5a66604ba 1 parent f5204d7
@autarch autarch authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/Plack/Middleware/Static.pm
View
4 lib/Plack/Middleware/Static.pm
@@ -68,6 +68,10 @@ response will be returned.
The content type returned will be determined from the file extension
based on L<Plack::MIME>.
+Note that if you are building an app using L<Plack::App::URLMap>, you should
+consider using L<Plack::App::File> to serve static files instead. This makes
+the overall routing of your application simpler to understand.
+
=head1 CONFIGURATIONS
=over 4
Please sign in to comment.
Something went wrong with that request. Please try again.