Re: 1.4.0b2 => bug width cache / templates_c - complement
| From: | Monte Ohrt | Date: | Fri, 04 May 2001 13:33:16 +0000 |
| Subject: | Re: 1.4.0b2 => bug width cache / templates_c - complement | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-683@lists.php.net to get a copy of this message | ||
You had better double check that... cache files are not all kept in one
directory. Every cache file should be in a two-character sub directory,
followed by a 16-character sub directory, followed by the actual cache
filename. This was done on purpose to accomodate the very issue you are
pointing out. Is this not the case, your cache files are all in the same
directory? I'm talking about the cache directory here, not templates_c,
which are compiled versions of your scripts, not caches.
marc konopka wrote:
>
> Complement : as i have a lot of cached files (more than 3000 for the site
> i'm currently working for),
> putting all files in the same directory isn't very optimised for linux.
> Gain in speed (acces file) when you hash the cache into directories, to
> diminue
> the number of files per directory.
>
> ----- Original Message -----
> From: "marc konopka" <konopka@echo.fr>
> To: <smarty@lists.ispi.net>
> Sent: Friday, May 04, 2001 10:45 AM
> Subject: [smarty] 1.4.0b2 => bug width cache / templates_c
>
> > Hi,
> > When i execute one of my scripts, i have this cached templates in
> > my templates_c directory :
> > site%2Fdepeche%2Fdepeche.tpl.php site%2Ffooter.tpl.php
> > site%2Fheader.tpl.php
> > site%2Fdepeche%2Fdepeche_centre.tpl.php site%2Fgauche.tpl.php
> >
> > All "/" are encoded by "%2F" (base64) so templates_c is no more a
> > mirror
> of
> > my templates
> > directory tree.
> >
> > Consequence : i have to delete manually the cache to see my modification
> > each time i change
> > something in templates.
> >
> > Seem to miss a "decode" somehere.
> >
> > Bye
> > Marc,
> >
> >
> > ---
> > You are currently subscribed to smarty as: konopka@echo.fr
> > To unsubscribe send a blank email to $subst('Email.Unsub')
> > Visit Smarty's homepage at
> > http://www.phpinsider.com/php/code/Smarty/
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/