Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
explain why conditions disable the routing cache
  • Loading branch information
kraih committed Mar 24, 2012
1 parent 7028e9b commit 6531b73
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Command/generate/makefile.pm
Expand Up @@ -20,7 +20,7 @@ use ExtUtils::MakeMaker;
WriteMakefile(
VERSION => '0.01',
PREREQ_PM => {'Mojolicious' => '2.60'},
PREREQ_PM => {'Mojolicious' => '2.67'},
test => {TESTS => 't/*.t'}
);
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Command/generate/plugin.pm
Expand Up @@ -108,7 +108,7 @@ WriteMakefile(
NAME => '<%= $class %>',
VERSION_FROM => 'lib/<%= $path %>',
AUTHOR => 'A Good Programmer <nospam@cpan.org>',
PREREQ_PM => {'Mojolicious' => '2.60'},
PREREQ_PM => {'Mojolicious' => '2.67'},
test => {TESTS => 't/*.t'}
);
Expand Down
3 changes: 2 additions & 1 deletion lib/Mojolicious/Routes/Route.pm
Expand Up @@ -474,7 +474,8 @@ L<Mojolicious::Lite> tutorial for more argument variations.
my $over = $r->over;
$r = $r->over(foo => qr/\w+/);
Activate conditions for this route and disable routing cache.
Activate conditions for this route. Note that this automatically disables the
routing cache, since conditions are too complex for caching.
=head2 C<parse>
Expand Down

0 comments on commit 6531b73

Please sign in to comment.