Renderer should support partial caching and a digestor bug fixed.

This will fix the new bug that is mentioned by @felixandersen in #495.

And, I also fixed a bug that is not obvious but it has something to do with the digestor with partials.