RE: multi database & cache
"Wojciech Chmielewski" <[email protected]> Tue, 17 Jan 2006 10:10:15 +0100
| Newsgroups | gmane.comp.web.midgard.user |
|---|---|
| Message-ID | <6B360142582ABA449AC804FD7B4914E7012B9E7C@mtpmail2.poznan.mtp.corp> |
Hi=20 Thanks for replay=20 84-639-153-0.php host_id -> page_id -> style_id -> lang_id(??).php I don't know why but the files are recreated each time even there are no change..=20 Chm -----Original Message----- From: Piotras [mailto:pp-VVDi8QVAvoBWk0Htik3J/[email protected]]=20 Sent: Monday, January 16, 2006 2:10 PM To: [email protected] Subject: Re: [midgard-user] multi database & cache "Wojciech Chmielewski" <[email protected]> wrote: > Hi=20 > We have quite same problem... but we have only one db. >=20 > We have Midgard 1.6.3 with Mulitlang/Midcom, about 60 hosts in = several > companies.. MidgardPageCacheDir /var/cache/midgard/ > Some styles are shared and used by several hosts in different = companies. By default we set /var/cache/midgard/. You can change this location to = any=20 directory which suits you and is apache user and group writeable. =20 > Problem: the different files are the same auto-generate filename and = they > are permanently rewrite. >=20 > What means: 84-639-153-0.php (I see page_id, element_id ??). page id , style id , host id , sitegroup id ( in no particular order )=20 > It is possible to change this auto-generate filename?=20 Yep, you should patch apache module. But it looks like you serve companies or hosts withing SG0. 1.6.x branch serves cache files even when the same style and the same = root page is used by different=20 sitegroups ( companies ). Piotras --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe-b5ZhpPVuLA+tlBvVaVFjCkB+6BGkLq7r@public.gmane.org For additional commands, e-mail: [email protected]