Improvment
Hey,
I think you want https://metacpan.org/source/LDIDRY/Mojolicious-Plugin-StaticCache-0.01/lib/Mojolicious/Plugin/StaticCache.pm#L15 to be this:
if ($mode ne 'development' || $even_in_dev) {
And I think I would store $mode and $even_in_dev outside of the "after_static" hook.
From Jan Henning Thorsen on Mojolicious mailing list