Permalink
Browse files

Docs for route_cache_size_limit & route_cache_path_limit

More for Issue #861
  • Loading branch information...
1 parent b1709be commit 245f35c841e586db08a36713d5dd9b19d96d16f2 @bigpresh bigpresh committed Nov 28, 2012
Showing with 11 additions and 1 deletion.
  1. +11 −1 lib/Dancer/Config.pm
View
@@ -629,11 +629,21 @@ served pages.
The pages served this way will have C<Content-Type> set to C<text/html>,
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
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

0 comments on commit 245f35c

Please sign in to comment.