improved caching of root node for better performance
Merge pull request #242 from SamSaffron/fix

this little bit of caching gives us a massive perf gain on Discourse