1
DMarvelus
how does module cache work?
  • 2005/10/9 12:57

  • DMarvelus

  • Just popping in

  • Posts: 70

  • Since: 2005/1/29


I'm not understanding how the module cache works, because a module is composed of many pages.

Does it keep several pages cached? Is the cache based on URL? Or maybe the ids, such as article id or whatever?

2
neill
Re: how does module cache work?
  • 2006/8/3 23:54

  • neill

  • Just popping in

  • Posts: 16

  • Since: 2006/7/23


i'll like to know this too, and what cache to set for each modules

3
jensclas
Re: how does module cache work?

There are FAQ's on cache - please check there.

4
kurak_bu
Re: how does module cache work?
  • 2006/8/4 9:50

  • kurak_bu

  • Quite a regular

  • Posts: 342

  • Since: 2005/9/5 1


my tip: use cache for sites with big traffic, many cisitors, big bandwith. for example, if you add a new photo, and the cache for gallery module is set to 5 minutes the new photo will appear in 5 minutes. for normal sites (non-big traffic) cache shoul not be used.

5
McNaz
Re: how does module cache work?
  • 2006/8/4 11:28

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


Module caching works by creating files in the cache directory for each data query required by a block or form in the module.

Data is read from the cache as opposed to the database, hence making it faster and reducing queries on your mySQL server.