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.
| Comment | File | Size | Author |
|---|---|---|---|
| node_load-cache.patch | 1.57 KB | dawehner |
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.
| Comment | File | Size | Author |
|---|---|---|---|
| node_load-cache.patch | 1.57 KB | dawehner |
Comments
Comment #1
dawehnerhere is a link
http://api.drupal.org/api/function/node_load/6
Comment #2
quicksketchThanks dereine! Committed (finally).