If you look at node_load on api.drupal.org you see that caching is only used, when you parse $nid as parameter not as array('nid' => $nid).

Therefore here is a patch which solves this.

CommentFileSizeAuthor
node_load-cache.patch1.57 KBdawehner

Comments

dawehner’s picture

Status: Active » Needs review
quicksketch’s picture

Title: Use node_load to allow caching. » Use node_load($nid) to allow caching.
Status: Needs review » Fixed

Thanks dereine! Committed (finally).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.