---------- Forwarded message ----------
From: Fabien MARTY <[EMAIL PROTECTED]>
Date: 4 juin 2007 22:21
Subject: Re: [fw-general] Zend_Cache help
To: "Matt M." <[EMAIL PROTECTED]>


Hi,

Zend_Cache_Frontend_File can help (particulary for modification times)
but you won't get complete control on the cache file. Hash and mtime
are embeded into cache files. So you can't use directly without using
load() method (for example).

Regards



2007/6/4, Matt M. <[EMAIL PROTECTED]>:
Hi,

I'm trying to implement a template parser and use the Zend_Cache class. The
flow is:

has source been modified?
  yes:
    get template source
    do replacements (compile to php)
    save as native php file
include native php file

So you see I need to be able to get the name of the cached file as that's
the file that contains the real php. Also, I only want to parse the source
template is the 2 files differ in modification times.

Will Zend_Cache allow this?



--
Fabien MARTY
[EMAIL PROTECTED]


--
Fabien MARTY
[EMAIL PROTECTED]

Reply via email to