Pierre Rineau wrote:
> On Sun, 2011-02-27 at 11:31 -0800, nan wich wrote:
>
>> Ah, see now you say that 10% of hook_init's are appropriate, so
>> telling someone to always avoid it is bad advice. In all the coding
>> that I have done, I have used hook_init() maybe three times (twice I
>> know for
On Sun, 2011-02-27 at 11:31 -0800, nan wich wrote:
> Ah, see now you say that 10% of hook_init's are appropriate, so
> telling someone to always avoid it is bad advice. In all the coding
> that I have done, I have used hook_init() maybe three times (twice I
> know for sure). And one was largely a
Yes, I meant drupal_static(); I just couldn't think of the function when I
wrote
that (I haven't done that much D7 coding yet).
Ah, see now you say that 10% of hook_init's are appropriate, so telling someone
to always avoid it is bad advice. In all the coding that I have done, I have
used hook
On Sat, 2011-02-26 at 09:22 -0800, nan wich wrote:
>
> When I develop modules, I have Devel turned on. One main thing I look
> for is repeated queries. Unfortunately, I find a lot of them,
> especially in other people's modules. I'm glad to see global caching
> available in D7 so that sub-function
When I develop modules, I have Devel turned on. One main thing I look for is
repeated queries. Unfortunately, I find a lot of them, especially in other
people's modules. I'm glad to see global caching available in D7 so that
sub-functions don't have to repeat information gathering that another f
Le vendredi 25 février 2011 à 10:46 +0100, Andreas Laesser a écrit :
> Hi @all
>
> is there a way to improve mysql queries from several modules? I've loaded
> aprox. 40 modules and it slows the site terrible...
>
> There is also the thing that if you load a site as an anonymous drupal does
> a
Hi @all
is there a way to improve mysql queries from several modules? I've loaded
aprox. 40 modules and it slows the site terrible...
There is also the thing that if you load a site as an anonymous drupal does
also the mysql queries for logged in users.
Does anybody have such problems?
If ye