Re: [SMARTY] turck-mmcache & PHP 4.3.5
| From: | boots | Date: | Fri, 02 Apr 2004 02:32:48 +0000 |
| Subject: | Re: [SMARTY] turck-mmcache & PHP 4.3.5 | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11215@lists.php.net to get a copy of this message | ||
--- Vonleigh Simmons <nospam@illusionart.com> wrote:
> > fyi: The latest version works perfectly with PHP 4.3.5 (at least
> for me)
>
> Can someone comment a little more on how one would use turck mmcache
> with smarty? I tried checking the page, but it only mentions
> encoding scripts.
Smarty generates php code -- so your compiled templates get cached
automatically along with all your other php source code. Just install
and away you go.
> Would I have to, for example, encode my publicly accessible
> files? will it take into account smarty, includes, objects, (private
> files) etc?
It is optional: you can encode your source files (including compiled
templates) if you prefer and distribute releases that way, but it
encodes on the fly if working from straight source files.
> How about the different caches of the smarty templates: I
> have some that regenerate every 10 minutes, others once a month, and
> yet others when a user updates his page.
There are a few smarty cache handlers that uses mmcache for storing
content: see, for example,
http://www.phpinsider.com/smarty-forum/viewtopic.php?t=1507
HTH
xo boots
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/