softmoth / raku-Template-Mustache

Raku library for the Mustache template format
https://modules.raku.org/dist/Template::Mustache:cpan:SOFTMOTH
Artistic License 2.0
21 stars 19 forks source link

caching included #30

Closed finanalyst closed 4 years ago

finanalyst commented 4 years ago

The inclusion of caching causes some warnings to be emitted. But all tests pass.

softmoth commented 4 years ago

I've merged this into master, and bumped the version to 1.1.2. So the only 1.1.1 version is your fork, in case anyone needs to distinguish between them for some reason.

Thanks for your contribution!

I noticed that all tests pass if caching of partials is allowed. I'd appreciate a test case that demonstrates why partials are excluded from the cache, if you have one handy.

Have you given thought to what changes would be needed to cache non-literals?