You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In an attempt to design a possible cache solution (#51), I found that \Todaymade\Daux\Tree\Content::getFrontMatter() might be invoked multiple times:
From \Todaymade\Daux\Tree\Content::getContent()
And from \Todaymade\Daux\Tree\Content::parseAttributes()
I'm not too sure about this being a defect - But if I read the code correctly, then markdown content is parsed twice, which does have some negative effect on performance. Should getFrontMatter() not return evt. previously rendered content, if any is available?
The text was updated successfully, but these errors were encountered:
In an attempt to design a possible cache solution (#51), I found that
\Todaymade\Daux\Tree\Content::getFrontMatter()
might be invoked multiple times:\Todaymade\Daux\Tree\Content::getContent()
\Todaymade\Daux\Tree\Content::parseAttributes()
I'm not too sure about this being a defect - But if I read the code correctly, then markdown content is parsed twice, which does have some negative effect on performance. Should
getFrontMatter()
not return evt. previously rendered content, if any is available?The text was updated successfully, but these errors were encountered: