Skip to content

Commit

Permalink
Merge 529ffbb into 8bcfee3
Browse files Browse the repository at this point in the history
  • Loading branch information
manwar committed Dec 20, 2018
2 parents 8bcfee3 + 529ffbb commit 915cc3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Plugin/Renderer/WithoutCache.pm
Expand Up @@ -35,7 +35,7 @@ This plugin turns off the renderer's cache in L<Mojolicious> and L<Mojo::Lite> a
This does what it says on the box. It turns off caching for the L<Mojolicious::Renderer>
or any other renderer that's inside C<$app-E<gt>renderer> by injecting a cache object that
does not do anything. This is supperior to setting the C<max_keys> of L<Mojo::Cache>
does not do anything. This is superior to setting the C<max_keys> of L<Mojo::Cache>
to C<0> if you plan to do a lot of uncached requests, becase L<Mojolicious::Renderer>
will still try to cache, and every time L<Mojo::Cache> sets a value in the cache it
looks at the C<max_keys>, and then stops.
Expand Down

0 comments on commit 915cc3c

Please sign in to comment.