Project:Liquid Wiki Engine Project
Version:5.x-0.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

liquid_lookup_wid SELECT wid, nid FROM wiki_name WHERE nid = 416
node_access SELECT COUNT(*) FROM node_access WHERE (nid = 0 OR nid = 416) AND ((gid = 0 AND realm = 'all') OR (gid = 1 AND realm = 'liquid_access') OR (gid = 2 AND realm = 'liquid_access')) AND grant_view >= 1

Static caching is called for.

Comments

#1

I think an additional concern here is that the function being called is done both in the init and menu hooks. Consolidating these, or even removing them all together, would be great for those who are trying to trim any unneeded database requests.

nobody click here