Skip to content

Commit

Permalink
Docs for route_cache_size_limit & route_cache_path_limit
Browse files Browse the repository at this point in the history
More for Issue #861
  • Loading branch information
bigpresh committed Nov 28, 2012
1 parent b1709be commit 245f35c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion lib/Dancer/Config.pm
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -629,11 +629,21 @@ served pages.
The pages served this way will have C<Content-Type> set to C<text/html>, The pages served this way will have C<Content-Type> set to C<text/html>,
so don't use the feature for anything else. so don't use the feature for anything else.
=head2 route_cache (boolean) =head2 Route caching
=head3 route_cache (boolean)
Enables route caching (for quicker route resolution on larger apps - not caching Enables route caching (for quicker route resolution on larger apps - not caching
of responses). See L<Dancer::Route::Cache> for details. of responses). See L<Dancer::Route::Cache> for details.
=head3 route_cache_size_limit (bytes)
Maximum size of route cache (e.g. 1024, 2M) - see L<Dancer::Route::Cache>
=head3 route_cache_path_limit (number)
Maximum number of routes to cache - see L<Dancer::Route::Cache>
=head2 DANCER_CONFDIR and DANCER_ENVDIR =head2 DANCER_CONFDIR and DANCER_ENVDIR
Expand Down

0 comments on commit 245f35c

Please sign in to comment.