Right now, asking a Doctopus for it's Heads, or a Head for it's Tentacles, goes all the way to the database and back, including parsing. (HTML is not re-generated, thank heavens.) This seems.... silly? The actual data being retrieved is not likely to change very often.
This isn't going to matter for a while, but I think we want some kind of caching layer with a modest TTL and the ability to be invalidated. Something that can just store a complete stack of things and retrieve it fast, parsed and ready for action.
Right now, asking a
Doctopus
for it'sHead
s, or aHead
for it'sTentacles
, goes all the way to the database and back, including parsing. (HTML is not re-generated, thank heavens.) This seems.... silly? The actual data being retrieved is not likely to change very often.This isn't going to matter for a while, but I think we want some kind of caching layer with a modest TTL and the ability to be invalidated. Something that can just store a complete stack of things and retrieve it fast, parsed and ready for action.
Thoughts?