Needs work
Project:
modr8
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Aug 2009 at 18:34 UTC
Updated:
2 Apr 2010 at 03:05 UTC
On modr8_form_submit, cache_clear_all is invoked for every approved node.
cache_clear_all is expensive and doesn't need to be called more than once per page view.
This patch creates a flag which, if set, clears the cache once and only once.
This is marked "bug report" because the amount of overhead created by so many cache_clear_all's could cause out of memory errors or http timeouts.
| Comment | File | Size | Author |
|---|---|---|---|
| modr8_admin.inc_.patch | 1.09 KB | aaronbauman |
Comments
Comment #1
pwolanin commentedI change this code to use node_save() - which itself clear the cache every time. So - this is more of a core issue now than a modr8 issue.