Re: 1.4.0b2 => bug width cache / templates_c - complement
| From: | marc konopka | Date: | Fri, 04 May 2001 14:24:36 +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-684@lists.php.net to get a copy of this message | ||
Thanks for your explanation.
Trully, i've called cache templates_c but i now see my mistake.
About the mails about doc. samples.
To help you to add examples in doc., what's the best ?
To send you examples ?
To make alternate Smarty web site doc ?
May be a doc inline where users can had online tips and samples
should a solution to minimise your work.
And so, just moderate the post to prevent the worst :)
Also, a site with downloadable add-ons.
If Smarty could integrate add-on (not to developp
a perl cpan but just integrate add-on without changing version : for now,
the Smarty tar.gz contain
the add-on file and some work is needed to migrate old own's add-on when
switching version),
it would be nice and help Smarty to grow in functionnality rapidly.
I'm agreeing width you when you said that it's an open source and every
user has to bring his brick.
Bye,
----- Original Message -----
From: "Monte Ohrt" <monte@ispi.net>
To: "marc konopka" <konopka@echo.fr>
Cc: <smarty@lists.ispi.net>
Sent: Friday, May 04, 2001 3:33 PM
Subject: [smarty] Re: 1.4.0b2 => bug width cache / templates_c - complement
> 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/
>
> ---
> 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/