Share » Forums » Developer » Caching 'includes' from...

Caching 'includes' from pagelayout_section template

Caching 'includes' from pagelayout_section template

Monday 28 April 2003 7:30:13 am - 4 replies

Modified on Monday 28 April 2003 7:35:20 am by Paul Forsyth

Author Message

Paulo Almeida

Monday 28 April 2003 4:22:34 pm

Hi

Is this page_leftmenu.tpl the same o demo? If not could you publish? Do you use $node ?
I have a left_menu if pagelayout without problems.

Paulo Almeida

PACPI.COM Internet Consulting
http://pacpi.com

Paul Forsyth

Tuesday 29 April 2003 12:43:57 am

No, this is our own left menu template.

We don't have any problems with nodes and content but only with the page not being cached as efficiently as the full view. If you have cache on and look inside the php cache files that are generated inside the 'content' directory you will find that 'includes' from a pagelayout are not cached there.

Having an html/php cache for our complex left menu triples our page performance and allows us to meet our clients need for a high bandwidth site.

Paul

Paulo Almeida

Tuesday 29 April 2003 4:34:29 am

Have you tryed cache-block?
After using, i've get ~315 pages per minute, before it used to get <200.

But if you have a multi-site instalation, ez3 will create a fixed directory in var/cache/template-block, I've reported this bug to put template-block in cache directory of each site.

Paulo Almeida

PACPI.COM Internet Consulting
http://pacpi.com

Paul Forsyth

Tuesday 29 April 2003 5:42:19 am

Paulo,

Ahem, humble pie time.

Earlier we did try cache-blocks but didn't find that they worked. However, after trying them again today they now do work... One difference I tried was using an array for the key but im not really sure why that would make the difference. I probably made a mistake the first time. :(

Thanks

Paul

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu