The $blocks variable gets built repeatedly on some page views (using Panels 2 in particular) and can be statically cached as it is always identical.

CommentFileSizeAuthor
views.patch994 bytesrobertdouglass

Comments

sun’s picture

Status: Needs review » Needs work

ugh. Robert, where is that coding style coming from? ;)

This looks very interesting in terms of performance. Wanna re-roll for 1.7?

esmerel’s picture

Status: Needs work » Closed (won't fix)

No changes are being made to 1.x at this point.

drewish’s picture