Rareloop / lumberjack

Lumberjack is a powerful MVC framework for the modern WordPress developer. Write better, more expressive and easier to maintain code.
https://lumberjack.rareloop.com
MIT License
371 stars 34 forks source link

pass cache time to TimberResponse? #32

Open codemonkeynorth opened 1 year ago

codemonkeynorth commented 1 year ago

In Timber we can pass a cache time

Timber::render( 'single.twig', $context, 600 );

is there an equivalent with

return new TimberResponse('single.twig', $context);

thanks J