Download & Extend

Create less queries

Project:Spam
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

This module IMO too many queries, it does one query per comment to get the spam status.

I'd like to see the a static cache that is configurable so that we could get all the status from some other cache (memached for example) instead of from the DB.

Or, as an alternative, some hook that gets called before the view hook could be used to pre-fill a static cache.