Re: version 1.4.6 released
| From: | Monte Ohrt | Date: | Thu, 01 Nov 2001 20:47:38 +0000 |
| Subject: | Re: version 1.4.6 released | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1797@lists.php.net to get a copy of this message | ||
At first glance, it looks as if jpcache is a page cacher, where as APC
and Zend Cache cache the compiled versions of the PHP scripts, two
completely different technologies. Smarty works very well with APC or
ZendCache, and is highly recommended. Since Smarty compiled templates
into PHP code, it can take full advantage of these types of script
compilers. jpcache on the other hand caches the final results of the
page. Smarty already has page caching built-in, and is tightly
integrated to the template language to take full advantage of some
unique caching features, such as having elements of the page dynamic and
the rest cached.
You can try jpcache with Smarty but I won't guarantee your results, they
might be quite confusing if you try to use both. Smarty already does
page caching for you. As for the gzip compression, I'd recommend letting
the web server handle this. With Apache, you can use mod_gzip to
compress all kinds of content from the server, including PHP content,
Perl content, static content, etc.
"Sylvain.B" wrote:
>
> Hi,
>
> Well done for this new released ! Great work !
>
> I'm work (for test) with different cache and optimizer systems for PHP...
>
> APC, PHPcache, Zend Optimizer, Zend cache and jpcache
>
> I would like to know how smarty work for this feature...
>
> On this test (www.phpindex.com/download/BenchWeb_V1.1.pdf) we can see
> jpcache really is better than other system (better too because is under GPL)
>
> Is jpcache can increase performance of web site build with Smarty ?
> https://sourceforge.net/projects/jpcache/
>
> thanks,
>
> Sylvain.B.
>
> Monte Ohrt wrote:
>
> > 1.4.6 is officially released. Go get 'em.
> >
> > Version 1.4.6
> > -------------
> > - fixed bug with {assign ...} when passing an empty value. (Monte)
> > - add more warning message fixes. (Monte, Tara Johnson)
> > - documentation updates. (Monte)
> > - update fetch function to give proper warning when fetching a
> > non-readable
> > or non-existant file. (Monte)
> > - fixed problem with newline at the end of included templates
> > (Monte, Andrei)
> > - added feature to regenerate cache if compile_check is enabled and
> > an
> > involved template or config file gets modified. (Monte)
> > - added DEBUG execution times to included files: REQUIRES updated
> > debug.tpl
> > file! (Monte)
> > - added support for hidden config variables that cannot be read by
> > templates. (Andrei)
> > - added execution time to DEBUG console, total and inserts. (Monte)
> > - fixed bug where DEBUG console would not appear with cached
> > content. (Monte)
> > - added support for postfilter functions that are applied to
> > compiled
> > template right after compilation. (Andrei)
> > - fixed the name of clear_compile_tpl() API function to
> > clear_compiled_tpl.
> > (Andrei)
> > - added fix for removing comments so that the line numbers are
> > reported
> > correctly in case of errors. (patch from Anders Janson)
> > - made html_options output xhtml compatible code. (Monte, Arnaud
> > Limbourg)
> >
> >
> >
> > --
> > Monte Ohrt <monte@ispi.net>
> > http://www.ispi.net/
> >
> > ---
> > You are currently subscribed to smarty as: atsyber@ifrance.com
> > 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/