1
wizanda
How could you add a system wide cache to multimenu?
  • 2004/9/13 9:03

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


What coding would i have to add to multimenu so that it adds a system wide cache in the prefrences?

so to reduces the query time.

Also why when you use the block caching on both multimenu and marque does the MySQL get all mudled up and repeat the same as the 1st???

2
solo71
Re: How could you add a system wide cache to multimenu?
  • 2004/9/13 9:31

  • solo71

  • Module Developer

  • Posts: 941

  • Since: 2003/1/29


Hello.

Question 1 : multiMenu is not properly a content module, as it does only have modules. That's why you can't apply wide range cache.

Question 2 : I have been reported that problem. The fact is that each and every generated blocs are reporting to the same template. Which means, I think, that if you cache that template, you freez its content in the mean time. The simpliest way to solve that problem is to creat a template for each bloc.


3
wizanda
Re: How could you add a system wide cache to multimenu?
  • 2004/9/26 18:46

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


I manged to do it so i have a cache per block

All i did was copy the template so it had 4 copies

Direct them in the version.php and
wham bam thank you mam

Cache per block

I do love xoops, i am going to have to learn php better didnt relise things where that simple todo

4
solo71
Re: How could you add a system wide cache to multimenu?
  • 2004/9/27 14:20

  • solo71

  • Module Developer

  • Posts: 941

  • Since: 2003/1/29


He he... Exactely. That's what I did with the latest version.

Please have a look at it.


Login

Who's Online

214 user(s) are online (155 user(s) are browsing Support Forums)


Members: 0


Guests: 214


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits