Thanks All,
The hosting company says does not provide coding support so it can only direct me to pursue that on my own.
I have doubled and now I have the following:
For article pages #CACHE{172800}
For rubrique pages: #CACHE{172800}
I will also change other pages of the template too.
Here is also an international appeal and now I find that I could do use the petition. Anyway for the next time I will do that. You can also join us:
http://kabulpress.org/my/spip.php?article881
Thanks again
Kamran
Kamran Mir Hazar
Exiled Poet, Writer, Journalist and Web Master
Email: kamran_mirhazar@yahoo.com & Editor@kabulpress.org
Web: www.kabulpress.org & www.rahapen.org
----- Original Message ----
From: Gilles Vincent gilles.vincent@gmail.com
To: Thomas Sutton thomas@bouncingorange.com
Cc: spip-en@rezo.net; kamran Mir Hazar editor@kabulpress.org
Sent: Friday, January 18, 2008 3:05:33 PM
Subject: Re: [Spip-en] max_questions problem
On Jan 18, 2008 8:43 AM, Thomas Sutton <thomas@bouncingorange.com> wrote:
- add or increase the caching on your pages (add #CACHE tags to every
template and make sure that the
number is large enough – try doubling the current value)
Yes, this is something I’ve also forgotten a lot of time ![]()
For element included it must also be specified.
If you use , the included loops are still interpreted, even
if the page is in cache (because SPIP uses a dynamic cache). So for
elements that doesn’t depend on the context (except #SESSION, from
memory), you can change these inclusion instructions into #INCLURE
But if you really want to accelerate your website AND lower the number
of queries, I suggest you to use the plugin Expresso (it is inside
http://miroirspip.ventre.name/builds/plugins/plugins_dev.zip )
A short documentation is here : http://www.spip-contrib.net/Expresso
An automatic translation is here : http://tinyurl.com/ywstts
This plugin is wonderfull !!
- make your templates less complex – the more loops it takes to generate
a page, the quicker you’ll
reach 50,000 queries
You can use the wonderfull attribute ‹ var_profile › : just add it to
your url (&var_profile=1), if you are admin with the session cookie
activated : a panel appears with the complete list of the queries used
for calculating a page (with a lot of debug information).
If you see that a querie is always calculated even if it shouldn’t
(for exemple if it’s for a navigation menu that does’nt change really
often, you should use static include for your template – ie. with
#INCLURE)
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en